DLL support is illustrated in the following samples.
DLLTRACE demonstrates a DLL that is statically linked to the Microsoft Foundation Class Library.
DLLHUSK shows an application that is dynamically linked to the DLL version of the Microsoft Foundation Class Library. DLLHUSK also illustrates a user DLL that is dynamically linked to the DLL version of the Microsoft Foundation Class Library. Such a user DLL is called an "MFC Extension DLL."
Note For information about dynamic-link library support, see the article DLL Topics in the Visual C++ Programmer's Reference.