Jump to content
  • Advertisement
Sign in to follow this  
blue-ice2002

MFC or Win32 API

This topic is 5040 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 have a question about MFc or win32.I mean for a turnbased strategy game or any other game that is written with directx which should be used.Or what is MFC needed for ?Do i need to learn that or use win32 purely?

Share this post


Link to post
Share on other sites
Advertisement
WTL is preferrable to MFC, as it is a refinement and makes use of C++ techniques that became available well after MFC. It's the second Open Source release from Microsoft.

Share this post


Link to post
Share on other sites
MFC is used mostly to build gui style applications like editors and other tools. Win32 on the other hand is a minimalistic os api layer used for game engines and such things that don't need MFC overhead. It's also used for building gui toolkits like Qt, Fox, etc. Most of the game gui elements are d3d/ddraw/gl components for direct and fast communication with the gfx hardware. They sort of mimick MFC/win32 in a way but are streamlined towards game guis not office applications.

Share this post


Link to post
Share on other sites
Quote:
Original post by JD
MFC is used mostly to build gui style applications like editors and other tools. Win32 on the other hand is a minimalistic os api layer used for game engines and such things that don't need MFC overhead.
Uh, no.

MFC is an object-oriented encapsulation of Win32 functionality for functionality and ease of use. Win32 isn't minimalistic, it's merely that MFC requires some rather heavyweight runtimes.

Share this post


Link to post
Share on other sites
I don't get what's so hard to understand. Win32 isn't a framework, it isn't some other library or something.

It's the interface for windows. You CANNOT write programs that work for windows without calling into the Win32 API at some point. It is the Application Programming Interface for working with Windows.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!