Udostępnij za pośrednictwem


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 Visual Studio Settings.

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.

  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 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

Concepts

Adding Functionality with Code Wizards

Reference

Property Pages (C+)

Other Resources

Debugging Preparation: Visual C++ Project Types

Windows Installer Deployment Tasks