Mfc

This is a discussion on Mfc within the Windows Programming forums, part of the Platform Specific Boards category; wat is MFC? is it a special class which we have to include in our normal C project or is ...

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    147

    Mfc

    wat is MFC? is it a special class which we have to include in our normal C project or is our normal C project already involving MFC?

    another plus : i heard MFC can be used by C to create GUI, is this true?

    p.s. let me know if my questions are irrelevant to MFC
    Only by the cross are you saved...

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    >>> i heard MFC can be used by C to create GUI, is this true?
    >>Perhaps

    No.

    MFC can only be used by WIN32 apps written in C++ (as classes are not available in C).

    In C you can use the WIN32 API. Create a WIN32 Application (not a WIN32 console application) with a winmain() instead of main() ect.

    MFC is a MS wrapper to make using WIN32 API 'easier'.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> i heard MFC can be used by C to create GUI, is this true?

    In much the same way as VB can be used to make the GUI for C/C++ .dll's, I guess you could use MFC to build a GUI calling C functions, but why anyone in their right mind would dream of doing such a thing escapes me.

    In the way you mean though, no.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

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