Thread: Is it foolish to program with Win32 API ?

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    85

    Is it foolish to program with Win32 API ?

    There many books, web sites, tutorials are talking about MFC, VC++. Only a few of their content contain Win32 API materials.
    but I've heard that I should learn API before learning MFC, is it true?
    It seems that API is difficult than MFC.
    I type many code that even I don't understand for just doing a little task...
    So...is it obsolete use api? I am new to API also... should I switch to MFC now ?

  2. #2
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    MFC is just a simple class wrapper around the Windows API.

    It is not foolish to learn Win API, nor would it be foolish to learn MFC.

    Personally, I use the API, but wrap relevant functionality into my own (re-usable) classes as I go. Certainly, it true that you end up writing a lot of code when programming with the API, but wrapping these into my own classes saves me from repeating the exercise in new projects. But that's my own preference.

    It's really just a matter of which you find more comfortable. Personally, with more people using .NET, I don't see MFC being very big in the future.

  3. #3
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Yeah, it is good to learn API so you know what MFC is doing behind your back. However in terms of development speed (though not exicution speed) MFC is better, no quite as easy as VB but getting darn close!
    VC++ 6

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 AM
  2. Client-server system with input from separate program
    By robot-ic in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-16-2009, 03:30 PM
  3. WIN32 API and Linux... *shudder
    By parad0x13 in forum C++ Programming
    Replies: 4
    Last Post: 07-24-2008, 07:27 PM
  4. Win32 API
    By Liger86 in forum Windows Programming
    Replies: 2
    Last Post: 01-30-2003, 02:19 PM
  5. Win32 API Tutorials?
    By c++_n00b in forum C++ Programming
    Replies: 9
    Last Post: 05-09-2002, 03:51 PM