Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |