Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

A very easy one: What the hack is MFC?

Posted on 1997-05-27
2
232 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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…
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.

791 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