October 26th, 2012, 02:45 AM
MFC basic question
I need to learn MFC programming and there a few things I haven't understood
So MFC provides C++ based classes that ultimately call Windows API functions, but hides the actual function call from us. Is this correct?
Does an exe file created from a project that uses MFC need MFC to be preinstalled on the computer that it is supposed to run on?
October 26th, 2012, 06:09 AM
MFC is not really a class-based approach, though it looks like it on the surface. While you can write MFC-based applications by hand, there are many simultaneous edits that are necessary any time you make a change to the graphical elements that should be done through the Visual Studio IDE. In my experience the value of MFC over making my own classes based on the underlying API was low, so unless you have to use MFC you are probably much better off exploring other opportunities. To my knowledge there are no specific libraries (that are not already installed as part of the OS) that are necessary to run MFC-based applications (presuming, of course, you install a Release executable).
October 26th, 2012, 02:35 PM
Microsoft already pre-installs MFC on all Windows computers since about Windows 95 :).
Originally Posted by mahaju
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo