🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Window Creation Code

Started by
0 comments, last by magal 24 years, 8 months ago
Guys, pleeaaassse help me out here, I'm getting desperate!!!

I can't make the CreateWindow or CreateWindowEx return a hwnd other
than NULL. And the code is all right, i mean, code that has always
worked. The compiling is okay and so is the linking (i use MSVC++5).
Can you guys send me sources of the WinMain (window creation and
entering the message loop) and WindowProc. The simplest versions of
these functions. Please.

Advertisement
I have a tutorial on my page that does what you want! It just creates a window and exits when ESC is pressed. http://members.tripod.com/mxf_entertainment/tutorials/windows.htm

------------------
- mallen22@concentric.net
- http://members.tripod.com/mxf_entertainment/

This topic is closed to new replies.

Advertisement