| description | Learn more about: Automation in a DLL | ||
|---|---|---|---|
| title | Automation in a DLL | ||
| ms.date | 11/04/2016 | ||
| helpviewer_keywords |
|
||
| ms.assetid | 2728ecd1-14e2-4ae0-a946-e749e11dbb74 |
When you choose the Automation option in the MFC DLL Wizard, the wizard provides you with the following:
-
A starter object description language (.ODL) file
-
An include directive in the STDAFX.h file for Afxole.h
-
An implementation of the
DllGetClassObjectfunction, which calls the AfxDllGetClassObject function -
An implementation of the
DllCanUnloadNowfunction, which calls the AfxDllCanUnloadNow function -
An implementation of the
DllRegisterServerfunction, which calls the COleObjectFactory::UpdateRegistryAll function