Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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

What do you want to know more about?

See Also

Concepts

DLLs

Community Additions

ADD
Show:
© 2015 Microsoft