DLL 中的自动化

更新:2007 年 11 月

当在“MFC DLL 向导”中选择“自动化”选项时,向导为您提供下列内容:

  • 起始对象描述语言 (.ODL) 文件

  • STDAFX.h 文件中面向 Afxole.h 的 include 指令

  • DllGetClassObject 函数的实现,此函数调用 AfxDllGetClassObject 函数

  • DllCanUnloadNow 函数的实现,此函数调用 AfxDllCanUnloadNow 函数

  • DllRegisterServer 函数的实现,此函数调用 COleObjectFactory::UpdateRegistryAll 函数

您想进一步了解什么?

请参见

概念

DLL