Sign in to follow this  
ff8

MFC or WIN32 API

Recommended Posts

In my opinion, they're both easy. But, also in my opinion, the Win32 API is better suited for game development. And most tutorials you're gonna find use Win32 API.

cya,
Drag0n

Share this post


Link to post
Share on other sites
You could go for WTL (Windows Template Library), which was created by Microsoft as a thin OO wrapper over the Win32 API. It's similar to MFC in some respects, but I prefer it as it;s not got the bloat and doesn't force you into the Document/View paradigm.

If you want to use WTL, then have a look at CodeProject, who have a wealth of tutorials and example code. GameDev has also run a WTL mini-series here.

Share this post


Link to post
Share on other sites
I think diffrent people will find diffrent ones easier.

I had a very hard time with C++ until i stopped trying to use MFCs. MFC made no sence to me what-so-ever. But i took to Win32 like a duck to water.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
GTK+ all the way! Use Glade to design your windows and just add your own code to the framework it generates for you.

I've heard that QT is both easy and powerful, but unfortunately you can only use it to write non-commercial software unless you buy a license...

wxWidgets is supposed to be powerful as well, but they say it has a steep learning curve.

GTK+, QT and wxWidgets have the added benefit of running on both Windows and Linux (and other operating systems as well).


Want to develop games? Well, you can use SDL together with OpenGL and you won't have to worry about WIN32, MFC, GTK+, QT, wxWidgets or any of the others.


WIN32? I bearely touched it. But I didn't like what little I did touch. I know pretty much nothing about MFC.

I suppose this didn't really answer your question. Sorry.

Share this post


Link to post
Share on other sites
Win32 for most windows stuff.

If you're doing GUI stuff, I'd recommend not using straight windows APIs at all. If you insist on using C++ instead of a language that's better suited for that sort of task, try C++/CLI (managed C++), and use Winforms.

MFC is...well, I'll just say it's not my favorite thing in the world.

Share this post


Link to post
Share on other sites
I had some trouble learning Win32 API but now it's fine... the only problem is that it gets really boring and annoying to rewrite the window code for every window that there is. So writing a class for that wouldn't hurt. I think Win32 API is the best choice :)

Share this post


Link to post
Share on other sites
Why hasn't anybody mentioned C# yet? I'm surprised that you all now recommend it as a first language but not for making a GUI or anything of that sort?

Share this post


Link to post
Share on other sites
thanks guys really i need your help :)
i think i'll see about WTL it is like glut :P may be i'll do like what vbtest making my own class :):)
bye !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this