Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.22 KB

automation-in-a-dll.md

File metadata and controls

36 lines (28 loc) · 1.22 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Automation in a DLL | Microsoft Docs
11/04/2016
cpp-tools
article
C++
DLLs [C++], Automation
Automation [C++], DLLs
2728ecd1-14e2-4ae0-a946-e749e11dbb74
8
corob-msft
corob
ghogen

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

DLLs in Visual C++