Classes and Functions Generated by the MFC DLL Wizard
Visual Studio 2015
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 DLL | Option | Classes | Functions |
|---|---|---|---|
| Extension | None | None | DllMain |
| Regular | None | Application class derived from CWinApp | None |
| Regular | Automation | Application class derived from CWinApp | DllGetClassObjectDllCanUnloadNowDllRegisterServer |
| Extension | Window Sockets | None | DllMain |
| Regular | Window Sockets | Application class derived from CWinApp | InitInstance contains call to AfxSocketInit |
Show: