• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

A very easy one: What the hack is MFC?

I'm a delphi programmer and every time I run over is acronism I ask my self: 'what the hell is this?'. I already figured it stands for Microsoft Foundation Classes. But what is this for?
0
camelo
Asked:
camelo
1 Solution
 
laleonardCommented:
Quick and dirty answer:Before Microsoft invented the MFC, I was writing Windows applications in C.  Probably half (just a guess) of the total C code I had to write was the same in every single application I wrote - so I did a lot of cut-and-pasting!The MFC can be thought of (kinda) as a skeleton application.  It provides the bare bones of a Windows program, and I "fill in the gaps" with code that is specific to my application.  No more re-inventing the wheel on every project.The nice part - and the nice part is very, very nice - is that fairly complex features like toolbars, "Print Preview", serialization, which took me weeks to code and debug in C, is now provided by the MFC with zero effort on my part.The less-than-nice part is that now I now have to figure out the details of how this MFC "skeleton app" is put together - things like the Document/View architecture - before I can get it to interact with my code.  (Nothing is ever really free...)
0
 
cameloAuthor Commented:
Thank's for the explanation
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now