Creating an MFC Application
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Creating an MFC Application.
An MFC application is an executable application for Windows that is based on the Microsoft Foundation Class (MFC) Library. The easiest way to create an MFC application is to use the MFC Application Wizard.
Important
MFC projects are not supported in Visual Studio Express editions.
MFC executables generally fall into five types: standard Windows applications, dialog boxes, forms-based applications, Explorer-style applications, and Web browser–style applications. For more information, see:
The MFC Application Wizard generates the appropriate classes and files for any of these types of applications, depending on the options you select in the wizard.
To create an MFC application using the MFC Application Wizard
Follow the instructions in the help topic Creating a Project with a Visual C++ Application Wizard.
In the New Project dialog box, select MFC Application in the Templates pane to open the wizard.
Define your application settings using the MFC Application Wizard.
Note
Skip this step to keep the wizard default settings.
Click Finish to close the wizard and open your new project in the development environment.
Once your project is created, you can view the files created in Solution Explorer. For more information about the files the wizard creates for your project, see the project-generated file ReadMe.txt. For more information about the file types, see File Types Created for Visual C++ Projects.
See Also
Debugging Preparation: Visual C++ Windows Applications
Adding Functionality with Code Wizards
Property Pages
Deploying Applications