Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Microsoft Foundation Classes


 

Microsoft Foundation Classes, or MFC, is a Microsoft library that wraps portions of the Windows API in C++ classes, forming an application framework. Classes are defined for many of the handle-managed Windows objects and also for predefined windows and common controls.

MFC was introduced in 1992 with Microsoft's C/C++ 7.0 compiler for use with 16-bit versions of Windows. It was part of an overall Microsoft effort to gain market share for development tools, and was designed to be something of a showcase of the capabilities of the C++ programming language. C++ was just beginning to replace C for development of commercial application software and C/C++ 7.0 was the first of Microsoft's compilers to add C++ support. MFC was inspired by, and owes much of its structure to the Think Class Library (TCL) on Macintosh, later bought by Symantec.

The Object Windows Library (OWL) was a competing product introduced by BorlandBorland Software Corporation (formerly Borland International, Inc. is a software company (NASDAQ NM: BORL), located in Scotts Valley, California, best known for its Turbo Pascal programming tool that has evolved into today's Delphi programming language. around the same time, and was designed for Borland's Turbo CTurbo C is a Borland Integrated Development Environment and compiler for the C programming language. Version history turbo c was developed by Gilbert Mendoza by the Help of Mrs Sydney tajanlangit and Mr Jumel Nofies. version 1. 0, in 1987 It offered the f compiler. Since it had a superior OO design, OWL was more popular than MFC for a time. However, it lost market share when OWL updates lagged the addition of new features to Windows. It has since been discontinued.

When MFC was introduced, Microsoft extended the C++ syntax with a series of macros for management of windows messages, exceptions, and dynamic class instantiation. The syntactic changes for windows messages were intended to reduce memory required, and mimicked the virtual function mechanism provided by C++. Because the macros defeat the type checking done by the compiler, their use has been a fruitful source of bugs for users of MFC. The serialization and exception support and dynamic runtime types were less problematic, and predated availability of standards-based language extensions by a number of years. 32-bit32-bit is a term applied to processors, and computer architectures which manipulate the address and data in 32- bit chunks. It is also a term given to a generation of computers where 32-bit processors were the norm. The range of integer values that can be versions of MFC, for Windows 95Windows 95 ( codename Chicago is a hybrid 16-bit/ 32-bit graphical operating system released on October 13, 1995 by the Microsoft Corporation. Windows 95 is a direct descendant of Microsoft's formerly separate MS-DOS and Windows products. It is the first and later Windows operating systems, retain these pecularities.

As a practical matter, a chief advantage of MFC is the automatic closure of handles when the objects creating them go out of scopeThis article is about the use of the term in computer science. See scope for other uses. In computer programming, the scope of an identifier refers to where and when in the program the identifier can be referenced. Scope applies to all identifiers in a pr. Additionally, MFC provides a Document/View framework for creating Model-View-Controller-based architectures.

Once highly promoted by Microsoft, emphasis on MFC has been eclipsed by a number of other technologies. Microsoft placed more emphasis on Visual BasicVisual Basic VB is an event driven programming language and associated development environment, created by Microsoft. It is derived heavily from BASIC. VB enables Rapid Application Development (RAD) of graphical user interface (GUI) applications; allows e as a commercial software development tool as it became clear that C++ and MFC were too complex for many programmers. After a brief flirtation with Sun Microsystems' Java, Microsoft deployed its own programming language, called C# (C sharp). Advertised as a RAD language, C# is part of Microsoft's .NET initiative.

MFC continues to be used for new development by shops that have made a strategic commitment to C++ and the Windows platform.



Read more »

Non User