次の方法で共有


Creating an MFC DLL Project

 

The latest version of this topic can be found at Creating an MFC DLL Project.

An MFC DLL is a binary file that acts as a shared library of functions that can be used simultaneously by multiple applications. The easiest way to create an MFC DLL project is to use the MFC DLL Wizard.

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Customizing Development Settings in Visual Studio.

To create an MFC DLL Project using the MFC DLL Wizard

  1. Follow the instructions in the help topic Creating a Project with a Visual C++ Application Wizard.

Note In the New Project dialog box, select the MFC DLL icon in the Templates pane to open the MFC DLL Wizard.

  1. Define your application settings using the application settings page of the MFC DLL Wizard.

    Note

    Skip this step to keep the wizard default settings.

  2. Click Finish to close the wizard and open your new project in Solution Explorer.

Once your project is created, you can view the files created in the 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

Visual C++ Project Types
Adding Functionality with Code Wizards
Property Pages
Deploying Applications