Automation in a DLL
Article 08/03/2021
6 contributors
Feedback
In this article
What do you want to know more about?
See also
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 DllGetClassObject
function, which calls the AfxDllGetClassObject function
An implementation of the DllCanUnloadNow
function, which calls the AfxDllCanUnloadNow function
An implementation of the DllRegisterServer
function, which calls the COleObjectFactory::UpdateRegistryAll function
What do you want to know more about?
Create C/C++ DLLs in Visual Studio