MFC or Windows API

This is a discussion on MFC or Windows API within the Windows Programming forums, part of the Platform Specific Boards category; I was reading some web page talking about MFC and Windows API saying that MFC isn't the way to go. ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    66

    MFC or Windows API

    I was reading some web page talking about MFC and Windows API saying that MFC isn't the way to go. It is restricting and you can't do as many things with it. I was wondering your opinion on views on MFC and Windows API. Thanks for you help. Really appreciated.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    There are loads of previous threads on this....nevermind....

    WinAPI is the natural starter........you learn more cuz your forced to do more.....there arent many shortcuts......

    MFC is better for fast turnaround and offers a level of abstraction from the WinAPI......You can pump out a MDI or Database app pretty quickly without the laborious coding needed each time......The downside is that you can get unstuck if you dont have experience of the WinAPI

    Start with WinAPI (Get Petzold) then if you wish to go on, start MFC

  3. #3
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Okay summed up:

    API:
    -has a broader scope and flexibility
    -"no short-cuts"

    MFC:
    -faster coding
    -shorter range and much less flexible than the API

    Feel free to add to this list.

    --Garfield
    1978 Silver Anniversary Corvette

  4. #4
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    MFC:
    -faster coding
    -shorter range and much less flexible than the API
    -slower

  5. #5
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    >> -slower <<

    Yes! Big. Very BIG!!! Program for optimization.

    --Garfield
    1978 Silver Anniversary Corvette

  6. #6
    Registered User
    Join Date
    Nov 2001
    Posts
    66
    Well I just got my Learning Visual Studio 6.0 in 21 days books and it works with MFC I noticed. I am also getting a MFC book in the mail pretty soon so sounds like I am starting with MFC. Do you think I will be able to switch over to Windows API after doing MFC will I unlock some of the things I couldn't do with MFC? Well thanks for all your answers.

    Ryan

  7. #7
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    >> Do you think I will be able to switch over to Windows API after doing MFC <<

    It would be harder than going from API to MFC. But, it's possible.
    1978 Silver Anniversary Corvette

  8. #8
    Registered User
    Join Date
    Nov 2001
    Posts
    66
    yeah but API is already harder from what I hear so yeah it will be harder to go from MFC to API also if a program uses MFC42.dll does that mean it was built with mfc cause I noticed ICQ uses it.

    Ryan

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows API
    By valaris in forum Windows Programming
    Replies: 7
    Last Post: 08-01-2008, 01:37 AM
  2. Which one :MFC, Win32, Windows Forms (.Net)?
    By Robert_Sitter in forum Windows Programming
    Replies: 6
    Last Post: 11-17-2005, 06:15 AM
  3. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 12:14 PM
  4. Windows 98 api vs windows XP
    By Shadow12345 in forum Windows Programming
    Replies: 3
    Last Post: 10-01-2002, 06:58 AM
  5. How do you toggle keys like Scroll lock without Windows API?
    By animeaholic in forum C++ Programming
    Replies: 7
    Last Post: 09-15-2002, 08:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21