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 MFC 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 DllGetClassObject DllCanUnloadNow DllRegisterServer
Extension Window Sockets None DllMain
Regular Window Sockets Application class derived from CWinApp InitInstance contains call to AfxSocketInit

See also

MFC DLL Wizard