Solved

A very easy one: What the hack is MFC?

Posted on 1997-05-27
2
225 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
ID: 1301831
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
ID: 1301832
Thank's for the explanation
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Define unique primary key 9 89
centeredAverage challenge 8 131
How to convert MFC::CString to UTF8 wchar_t* 10 148
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 281
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

15 Experts available now in Live!

Get 1:1 Help Now