×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Win32 API or MFC?Please,I need some advice.

Win32 API or MFC?Please,I need some advice.

Win32 API or MFC?Please,I need some advice.

(OP)
I'm learning c++ and I don't know where to go from there.
Should I start learning win32 api of MFC?I know API is more difficult,but is it REALLY that more difficult?I know It can go depper in windows,but how much?Maybe you can tell me what are a typical applications developed with api and what with mfc.And last,how much longer will it take me to master api?

Thank you very much

RE: Win32 API or MFC?Please,I need some advice.

(OP)
Isn't there anybody that could answer me this?I really need to know this.Thank you.

RE: Win32 API or MFC?Please,I need some advice.

Dont know if your still there but ill try to help anyway since i asked this exact same question when i first started. The win apis are generally not used much these days, every one doing windows specific GUI developement is probobly using MFC or Basic. The reasons are Basic and MFC speed up developement alot and have a lot more support. Good luck getting help with a winAPI question, case in point, this post.
Why might you want to learn the winAPIs. One you might not have VC++ or any other IDE that supports MFC. Two MFC wraps the win APIs and so by learning the API youll have a deeper knowledge of MFC when you do move on (and you will want to eventually). Some things the Api is still used for are some graphics systems like Genesis 3D(an open source 3D engine) uses it for window and message handling. It would take a long time to become proficient using the Win APIs and i would recommend spending a little time learning the basics. but if you are doing GUI programming you should definetly move to MFC.

RE: Win32 API or MFC?Please,I need some advice.

Hi, I'm fairly new to programming in Windows. I've had a lot of experience programming on Macs in the past using the Mac Toolbox (equivalent of API). I've noted there are pros and cons to each method: Usign the toolbox (API) you can feel that you have more control over certain things PLUS you can gain valuable experience of 'real' hands-on programming, that is, understanding how things work at the lower level. However, when I moved across to Windows I chose the Visual C++ approach. Why? Because I needed to get my program up and running quickly.
I also have a copy of DevC++ compiler but have yet to delve into the world API programming for Windows. I'm looking forward to learning this someday when I have the time so it'll give me a clearer understanding of what's happening in the code.
I would suggest you do the same kind of thing. Invest in VC++ to start with. You'll get things done faster without having to worry about the nitty-gritty stuff. When you feel more comfortable and your curiosity gets the better of you, try going into API. Once you've done both you can then decide the best for you.

RE: Win32 API or MFC?Please,I need some advice.

You can read. Programming Windows by -Charles Petzold. Everything is given in that book. I have working with Win32 APIs and MFCs since 2.5 years. If you have any questions please let me know?

RE: Win32 API or MFC?Please,I need some advice.

You can read. Programming Windows by -Charles Petzold. Everything is given in that book. I have been working with Win32 APIs and MFCs since 2.5 years. If you have any questions please let me know?

RE: Win32 API or MFC?Please,I need some advice.

MFC is good for getting and application user interface working. Using the class wizard it is easy to modify and add features to the user interface. This makes development time a lot shorter. Sometimes MFC applications can run a little slow. Most of the time this is not a problem. I would say learn MFC first then learn the API to have more control.

-Chris


-Chris  (Consultant / Software Engineer)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close