Archived

This topic is now archived and is closed to further replies.

Classed WinMain/WndProc?

This topic is 5977 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there a way to get WinMain into a class such that the program will start there instead of the normal WinMain? (kinda like the way they do it in MFC, I guess) Ditto for the WndProc, if that''s at all possible -Normie "But time flows like a river... and history repeats." ... So...what about beaver dams?

Share this post


Link to post
Share on other sites
hi
you can get WndProc into a class , thats possible , but , u CANT get WinMain() into a class , your program must start somewhere.
u can , if you want , to get your message loop into a class , but u must have a WinMain() routine in every Win32 app.


"Thats who you are. Thats what you could."
------------------------------
- Goblineye Entertainment
------------------------------

Share this post


Link to post
Share on other sites