• Advertisement

Archived

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

How does MFC call WinMain?

This topic is 5807 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

Since all Win32 programs have to have WinMain, how does MFC embed it into the CWinApp class?

Share this post


Link to post
Share on other sites
Advertisement
The short answer is, "it doesn''t." MFC doesn''t call WinMain, the compiler handles setting up WinMain as the entry point of the executable.

Share this post


Link to post
Share on other sites

  • Advertisement