I just want to create a basic Window!
oops. Just saw the post on how you can''t type in the includes on this forum properly! Forget the second part of my message above then.
You will need to add 2 functions after creating the window, it is:
ShowWindow(hwnd, cmd_show);
UpdateWindow(hwnd);
Or something similar (can''t remember off hand the parameters, but look those 2 functions up in help)...
ShowWindow(hwnd, cmd_show);
UpdateWindow(hwnd);
Or something similar (can''t remember off hand the parameters, but look those 2 functions up in help)...
Doh! You are getting linker errors...
When setting up your project you must specify a "win 32 application"...
Then copy/paste the code into the project and it should compile. It appears you are missing some compiler directives, and specifying the project as win32 application should fix that.
When setting up your project you must specify a "win 32 application"...
Then copy/paste the code into the project and it should compile. It appears you are missing some compiler directives, and specifying the project as win32 application should fix that.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement