Jump to content
  • Advertisement
Sign in to follow this  
Hammonjj

Windows Programming

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

What is the best way to learn windows programming? Is it MFC or something else. I really haven't been able to find anything concrete on the web about different methods, just that there are different methods. What is a good compiler for doing these windows application in? Someone earlier mentioned "Visual C++ Express Edition", but after playing with it I realized it doesn't support MFC. What other ways can I create windows programs? Does anyone know of any good tutorials? Thanks James

Share this post


Link to post
Share on other sites
Advertisement
I'd advise staying away from MFC. I've used it a little bit, and it's nothing particularly special. Although it's handy for getting simple applications up and running really fast.

I'd just stick to plain old Win32 functions (E.g. CreateWindowEx, etc.) The MSDN is a good place for reference, but there are better sites around for tutorials (Although I don't know of any offhand).

Share this post


Link to post
Share on other sites
Stay away from MFC; it's pretty much dead. You'll want to use either the Widnows API or the .Net Framework, both of which are supported by the Express Editions

Share this post


Link to post
Share on other sites
Go to the bookstore, find the Windows programming section, find a book by a guy named Petzold called Programming Windows or something similiar, buy it, study it, do some programming, voila - you're an expert.

Share this post


Link to post
Share on other sites
Quote:
Original post by Extrarius
Stay away from MFC; it's pretty much dead. You'll want to use either the Widnows API or the .Net Framework, both of which are supported by the Express Editions


The Windows API is supported after you download and install the Platform SDK. Without that, you just get lots of errors and head scratching.

Share this post


Link to post
Share on other sites
if your goal is to learn to make windows apps, why are you using C++?

in the real world these days GUI apps are typically made with .NET and other high level platforms....... do yourself a favor and use .NET w/ WinForms or Java or something if you want to learn app. programming.

PS please dont crap your pants on me, it is true though, id say if you searched on a job site that you would find like a 10:1 ratio of .NET / Java jobs compared to C++ windows apps..... the financial industry alone would go broke if we were stuck writing C++ windows apps [lol]

Share this post


Link to post
Share on other sites
Quote:
Original post by Anon Mike
Go to the bookstore, find the Windows programming section, find a book by a guy named Petzold called Programming Windows or something similiar, buy it, study it, do some programming, voila - you're an expert.


Ditto. Well, not complete ditto. Petzold's book won't make you an expert, but it's certainly the place to start for Win32 api programming.

Share this post


Link to post
Share on other sites
While I agree with you guys when you say that the MFC are nearly dead (but not dead: VS8 contains a new version of the MFC, and it is still widely used in the software industry, so I guess that MS don't consider the MFC as a dead product), but you have to agree that creating complex application with modern UI using only the Win32 API is a pure nightmare.

Learning Win32 API is one thing. Using it is like programming a game in pure ASM. Awfull, slow, and counter-productive.

No. Contrary to you, I'd suggest Hammonjj to try to use either the MFC or wxWidgets (very similar) if he wants to program in straight C++, or to give a try to .net (using either Managed C++ or C#, with a preference for C#) if don't have to stick to C++.

Regards,

Share this post


Link to post
Share on other sites
Petzolds book is good. It is painful writing a large application using just the Win32 API though. If you really want to become an expert using Win32 I'd recommend "Advanced Windows" by Jeff Richter after reading Petzold.

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!