keronbath.blogg.se

Introduction to microsoft foundation classes tutorial
Introduction to microsoft foundation classes tutorial














INTRODUCTION TO MICROSOFT FOUNDATION CLASSES TUTORIAL UPDATE

On 7 April 2008, Microsoft released an update to the MFC classes as an out-of-band update to Visual Studio 2008 and MFC 9.

introduction to microsoft foundation classes tutorial

A noticeable example is the standard pre-compiled header file that is automatically generated by Visual Studio: it is named StdAfx.h. The marketing department later changed its name to MFC, but it was too late to change any of the code, so much of the code still references "Afx" instead of "Mfc". On the plus side, though, MFC is well-integrated into Visual Studio, making development significantly easier.ĭuring early development, the library was known as Application Framework Extensions (abbreviated to AFX). These facts make it nearly impossible to compile an MFC application with any compiler other than Microsoft's. Since most of it was developed prior to the standardization of the C++ language, the MFC classes do not make full use of modern C++ features like templates, provide their own custom implementations of other standard C++ features like RTTI, and use many non-standard idioms. But its legacy roots are unfortunately quite visible. It is still included with the latest version of Visual Studio 2015.

introduction to microsoft foundation classes tutorial

Subsequent versions of Visual Studio have shipped with significantly improved versions of MFC.

introduction to microsoft foundation classes tutorial

At this time, C++ development was just beginning to take off. It was first introduced in 1992 with version 7 of Microsoft's C/C++ compiler. By encapsulating the "raw" Win32 API in C++ classes, MFC makes it significantly easier to create GUI applications and manage resources. The Microsoft Foundation Classes, or MFC, is a library that provides an object-oriented wrapper around the Win32 API.














Introduction to microsoft foundation classes tutorial