Jump to content
  • Advertisement

Archived

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

Frazzuld

VC++ differences?

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

I am going to be getting into VC++ and away from Borland soon, and I was curious about something. In a VC++ example code I looked at, I didnt see a main() function. I assume that in a windows application, you will have a Winmain() instead? I saw that in there...anyway, any VC++ specific pointers or tips would be welcome!!

Share this post


Link to post
Share on other sites
Advertisement
Yep, in any Win32 App you always have a WinMain function -- probably because the paramaters passed into the main() function arent sufficient for a Win32 App (i.e, you need an hInstance and other important data).

--TheGoop

Share this post


Link to post
Share on other sites
Yeah, in a Windows app, the standard main() is done for you behind the scenes, so to speak.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!