แก้ไข

แชร์ผ่าน


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 Personalize the Visual Studio IDE.

To create an MFC DLL Project using the MFC DLL Wizard

  1. Follow the instructions in the help topic Creating an MFC Application but choose MFC Dynamic Link Library or MFC DLL from the list of available templates.

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

    Note

    Skip this step to keep the wizard default settings.

  3. 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 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 Studio C++ projects.

See also

C++ project types in Visual Studio
Adding Functionality with Code Wizards
Property Pages