Thread: MFC on Dev C++?

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    47

    MFC on Dev C++?

    Can anyone give me advice on how to set this up? Or if I can even get it?

  2. #2
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    MFC comes with Visual C++. Dev-Cpp doesn't support it.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    47
    MFC is a library right? If you have the library, why wouldn't the compiler be able to support it?

  4. #4
    Registered User BillBoeBaggins's Avatar
    Join Date
    Oct 2003
    Posts
    107
    MFC is compiler specific to MSVC++. It is their technology. You can find things that will compile on Borland's compiler and and not on any other's.
    May the compiler be with you.
    Be one with the compiler, and you shall prosper greatly.

  5. #5
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    MFC is a library and it can work with any compiler. The problem is that MSVC++ generates quite a bit of source code for you that you would have to write yourself with any other compiler. It's just not worth trying to use MFC unless you are using the microsoft compiler.

  6. #6
    Registered User
    Join Date
    Sep 2003
    Posts
    87
    MFC is a library, but it uses features on the VC++ compiler which are not supported on other compilers and are not available in the C++ standart itself. These features are additions to the standart C++ and are not supported on compiler other of this on VC++.

    For example see the description of the DECLARE_DYNAMIC and DECLARE_DYNCREATE macros in MSDN. They are used for dynamic creations of objects, whose type is not known at the compiling time.

  7. #7
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Open Watcom claims to include MFC.

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, 08:52 PM
  2. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM
  3. Understanding The Future of MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-15-2002, 09: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