Creating an MFC DLL Project
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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.


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.


    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.


    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.

© 2015 Microsoft