Jump to content
  • Advertisement

Archived

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

phil05

Win32 API vs MFC

This topic is 5144 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''ve been focusing on Win32 API since I hear its faster for processing. Is that true, or is everyone swaying over to MFC now?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Everything is swaying over to .NET now.

Share this post


Link to post
Share on other sites
MFC encapsulates the Win32 API as a set of objects. Using Win32 because it is "faster" than MFC is a poor choice IMO. For most GUI applications you can get away with using .NET anyway. MFC has its place, it just isn''t as big as it used to be.

Share this post


Link to post
Share on other sites
My attitude would be that MFC is likely to be deprecated soon, with M$ forcing developers to move either to .NET (Windows.Forms) or to go to third party toolkits (or indeed, drop down''n dirty to win32).

Games rarely use MFC, as far as I''m aware (perhaps they use some of its non-UI related components, but it seems unlikely). Of course they might do for their installers.

DirectX and stuff integrates with win32 stuff directly, I think. (although you can apply it to MFC by obtaining window handles etc?)

MFC -> not generally suitable for games + likely to go away soon
Win32 -> Low level, but used in games (well, their support libs anyway), NOT going to go away any time soon
Windows.Forms -> For .NET only (at the moment anyway), not generally suitable for games (maybe for installers etc).

Mark

Share this post


Link to post
Share on other sites
quote:
Original post by philvaira
...is everyone swaying over to MFC now?

No.

If you want to try the .NET-framwork (which I advice you to), I really recommed moving to C# becuase it is extremly messy to write .NET-applications in C++. If you want to experience .NET, experience it with C#.

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!