Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Drawbacks using MFC

Drawbacks using MFC

Scheduled Pinned Locked Moved Site Bugs / Suggestions
c++performancequestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fredrik Sigbjorn
    wrote on last edited by
    #1

    Are there any negative affects with MCF? Does my program runs slower, do they take more memory, do they crash more often? Then if I code straight win32? I have to write a program that is stable, so are ther any drawbacks by using MCF instead of win32? TIA Fredrik Sigbjörn SigSoft

    U R 2 Replies Last reply
    0
    • F Fredrik Sigbjorn

      Are there any negative affects with MCF? Does my program runs slower, do they take more memory, do they crash more often? Then if I code straight win32? I have to write a program that is stable, so are ther any drawbacks by using MCF instead of win32? TIA Fredrik Sigbjörn SigSoft

      U Offline
      U Offline
      UkJay
      wrote on last edited by
      #2

      I thought the idea of MFC was that it was a SMART Library of code and that the only problem comes when you add your bit :-) ?? I see the problem with MFC being that you never learn the Windows API?? Jay :-D http://home.clara.net/jaylazz

      1 Reply Last reply
      0
      • F Fredrik Sigbjorn

        Are there any negative affects with MCF? Does my program runs slower, do they take more memory, do they crash more often? Then if I code straight win32? I have to write a program that is stable, so are ther any drawbacks by using MCF instead of win32? TIA Fredrik Sigbjörn SigSoft

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #3

        MFC is a great time-saver, and as long as yu don't step too far out of MFC's own (sometimes quirky) sense of reality, you should be fine. Any program that makes use of a pre-designed class framework is going to be larger than one which doesn't. MFC programs will grow if you include any of the following capabilities: - support for windows sockets - support for MFC collection classes - support for com/atl/activex - support for databases (odbc, ado, dao) Of course, you can compile your app using the MFC DLLs which makes your programs smaller at the expense of having to ship the MFC DLLs, as well as the possiblity that some rogue install program will overwrite those DLL's with an older version. I personally prefer to statically link MFC. Sure, it makes my apps a little larger, but I don't have to worry about those stupid DLLs either.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups