Mfc??

This is a discussion on Mfc?? within the C++ Programming forums, part of the General Programming Boards category; What exactly is MFC?? I see it all around the forums and its also included in Visual C++ .net that ...

  1. #1
    Registered User heljy's Avatar
    Join Date
    Mar 2002
    Posts
    36

    Mfc??

    What exactly is MFC??

    I see it all around the forums and its also included in Visual C++ .net that I am using now.

    What so special about it???
    If only life is as easy as C...

  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    Microsoft Foundation Classes (MFC) is a programming library for building Windows applications. Basically it's a collection of wrapper classes around the Win32 API to make Windows programming easier.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  3. #3
    Registered User heljy's Avatar
    Join Date
    Mar 2002
    Posts
    36
    How would that make it different from Win32 then? From what I know, I thought that win32 is an API for creating Window Application??

    So MFC is built on top of Win32?

    So we have to include the library for MFC? Where can we get that? Is it only included in Visual Studio/C++??


    BTW is <windows.h> the Win32 API?
    Last edited by heljy; 04-13-2002 at 01:29 AM.

  4. #4
    Registered User
    Join Date
    Feb 2002
    Posts
    114
    MFC is a wrapper for the win32 api, to make it easier (?!?) to program in windows. Another similar wrapper is Borlands VCL and CLX, these are in my opinion easier to develope in, but suffer in performance (but it might be Borlands IDE that makes for easy developement hehe . CLX has the great(!!!) advantage that it is portable to linux write a program on windows and compile it on a linux machine, and voila: the same program can run on both machines.

    What makes MFC different from the Win32 API. Since MFC uses the win32 api, you can see MFC as an tool for you to use to create win32 apps easier. You can still use direct win32 api calls from MFC applications if you like. This, you can also do in Borland C++ builder.

    Well don't know if that made any sence. It's early in the morning and i'm still working... hehe...

  5. #5
    Registered User heljy's Avatar
    Join Date
    Mar 2002
    Posts
    36
    Thanks for that! Makes sense now....

    Another question of mine is what library do we include? Since MFC is Microsoft's, can we just get the library freely, without the IDE to use it?

    I am going to try some simple windows programming

    Thanks alot again!
    If only life is as easy as C...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 09:52 PM
  2. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 07:42 PM
  3. Understanding The Future of MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-15-2002, 10:08 PM
  4. Beginning MFC (Prosise) Part III - Now What? :: C++
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 03-03-2002, 06:58 PM
  5. MFC is Challenging :: C++
    By kuphryn in forum C++ Programming
    Replies: 8
    Last Post: 02-05-2002, 01:33 AM

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