Classes and Functions Generated by the MFC DLL Wizard

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Classes and Functions Generated by the MFC DLL Wizard.

The code that the MFC DLL Wizard generates depends on the kind of DLL you are creating and the options you have selected. The MFC DLL Wizard generates the same code for both forms of regular DLLs.

Kind of DLLOptionClassesFunctions
ExtensionNoneNoneDllMain
RegularNoneApplication class derived from CWinAppNone
RegularAutomationApplication class derived from CWinAppDllGetClassObjectDllCanUnloadNowDllRegisterServer
ExtensionWindow SocketsNoneDllMain
RegularWindow SocketsApplication class derived from CWinAppInitInstance contains call to AfxSocketInit

MFC DLL Wizard

Show: