Jump to content
  • Advertisement

Archived

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

Normie

Classed WinMain/WndProc?

This topic is 6193 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!