Solved

A very easy one: What the hack is MFC?

Posted on 1997-05-27
2
219 Views
Last Modified: 2013-11-20
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
Comment
Question by:camelo
2 Comments
 

Accepted Solution

by:
laleonard earned 20 total points
Comment Utility
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
 

Author Comment

by:camelo
Comment Utility
Thank's for the explanation
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now