Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've just made my first dialog application using MFC. It is interesting that there is no main() or WinMain() function.

I have programmed in C++ for a while, but not Visual C++ and windows applications.

 

What is substituion for main() finction and how this work?

 

What is the purpose of BEGIN_MESSAGE_MAP?

Maybe this is substituion for main() or ...?

  • Administrators
Posted

If you create a MFC based App then WinMain is still there it's just buried within the MFC framework.

 

you may find these links are worth a quick read as they may shed a bit of light on the subject

http://www.codeguru.com/Cpp/Cpp/cpp_mfc/tutorials/article.php/c4131/

http://www.fastgraph.com/help/first_mfc.html

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...