Results 1 to 8 of 8

Thread: api loses to mfc?

  1. #1

    Thread Starter
    Fanatic Member prog_tom's Avatar
    Join Date
    May 2001
    Location
    Los Angeles and Little Rock
    Posts
    810

    Angry api loses to mfc?

    Darn it, now I am interested in MFC.

    But the syntax and all those .h and .cpp files just gives me a headache, can anyone kindly briefly explain it to me the structure and other crap please?

    prog_tom
    JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
    http://physics.sviesoft.com/forum

  2. #2
    Hyperactive Member
    Join Date
    Aug 2002
    Posts
    416
    MFC sucks.

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Concisely put there

    Sure, for getting a program up and running, MFC is pretty good. Unfortunately, the code inside it is verging on the horrific side, plus it's fairly non-portable which is one of my projects for the future...

    The VC++ documentation tells you about all the MFC stuff (this is one of the main stumbling blocks - it autogenerates a load of bumf which is almost impossible to read).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197

    Re: api loses to mfc?

    Originally posted by prog_tom
    Darn it, now I am interested in MFC.

    But the syntax and all those .h and .cpp files just gives me a headache, can anyone kindly briefly explain it to me the structure and other crap please?
    If you are interested, I suggest you learn C++ (just the basics), then learn to make a window with c++ (no mfc), then make an MFC project.
    Or you could just stop after step 2

    retired member. Thanks for everything

  5. #5
    Hyperactive Member
    Join Date
    Aug 2002
    Posts
    416
    If you use dialogbox functions in regular c++ .. Its almost as ez as MFC. But the one thing I found nice about MFC.. Was how it handled ActiveX Controls (ocx). It auto-generated classes for you to use the ocx component.

    .... I still dont know how to use OCXs in C++, but I've never needed to use OCXs in C++

  6. #6

    Thread Starter
    Fanatic Member prog_tom's Avatar
    Join Date
    May 2001
    Location
    Los Angeles and Little Rock
    Posts
    810
    but why are all the books talking about MFC? Even parksie and most other members always use MFC to answer our humble questions.

    prog_tom
    JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
    http://physics.sviesoft.com/forum

  7. #7
    Frenzied Member Zaei's Avatar
    Join Date
    Jul 2002
    Location
    My own little world...
    Posts
    1,710
    I dont think I have EVER seen parksie answer a question not specifically about MFC with MFC. You might be confusing MFC with the STL, the Standard Template Library. The two are completly different and separate.

    Z.

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Zaei
    I dont think I have EVER seen parksie answer a question not specifically about MFC with MFC. You might be confusing MFC with the STL, the Standard Template Library. The two are completly different and separate.

    Z.
    And even if I can easily tell that they're using MFC, if they don't say it then I use STL or API just to punish them
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width