Share via


Classes and Functions AppWizard Generates for MFC DLLs

OverviewHow Do IDetails

The code that the MFC AppWizard (DLL version) generates depends on the kind of DLL you are creating and the options you have selected. AppWizard generates the same code for both forms of Regular DLLs. The following table lists the classes and functions that AppWizard provides for you.

Kind of DLL
Option

Classes

Functions
Extension None None DllMain
Regular None Application class derived from CWinApp None
Extension Automation None DllMain
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

What do you want to know more about?