Skip to content

Creating a new dynamic link library (DLL) project

  1. Start Microsoft Visual Studio.
  2. From the File menu, select New and then Project….
  3. From the Project types pane, under Visual C++, select MFC.
  4. From the Templates pane, select MFC DLL.
  5. Choose a name for the project, such as ExtendedLibraryFunctions, and enter it in the Name field.
  6. Press OK to start the MFC DLL project creation.
  7. Open project properties and select All Configurations.
  8. Select General, then Project Defaults.
  9. Select Use MFC in a static library for the option Use of MFC.
  10. Select Use Multi-Byte Character Set for the option Character Set.
  11. Select C/C++, then Advanced.
  12. Select __stdcall for the option Calling Convention. DataFlex Reports uses the standard calling convention (_stdcall). If you are planning to use another development environment, make sure that you use this convention.