There are two ways to write Windows applications from the start. The first is to use the API functions defined by Win32 to reflect the details. The other is the use of a special C + + class library, which contains the API, the most popular is MFC. The difference between the two methods: All Windows applications share a basic structure, MFC masks many elements of the structure, the use of APIs can be detailed control program operation, and the use of MFC some low-level controls can not be implemented; APIs can be programmed in C or C + + and MFC must use C + +. And there must be support for class libraries. So the API is the basis of MFC it.
3.1windows Basic Types
Win32 Project
These include two options. The first is that the Win32 console application is an application that simulates MS-dos tin, and of course now the Windows operating system provides a "console window" to simulate, not really running the app in MS-DOS. The second one is the Win32 project, and the wizard appears after you select the second one. Select the Windows application.
The. sln file represents a visual Studio solution file that can be organized into a solution by providing the environment with an application for the location of projects, project items, and solution items on disk;
Basic composition of 3.2windows applications
Vc++windows Programming Technology (3)