Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Automation in a DLL

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

Concepts

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft