共用方式為


CAtlDllModuleT Class

This class represents the module for a DLL.

template < 
   class T  
> 
class ATL_NO_VTABLE CAtlDllModuleT : 
   public CAtlModuleT< T >

Parameters

  • T
    Your class derived from CAtlDllModuleT.

Members

Public Constructors

Name

Description

CAtlDllModuleT::CAtlDllModuleT

The constructor.

CAtlDllModuleT::~CAtlDllModuleT

The destructor.

Public Methods

Name

Description

CAtlDllModuleT::DllCanUnloadNow

Tests if the DLL can be unloaded.

CAtlDllModuleT::DllGetClassObject

Returns a class factory.

CAtlDllModuleT::DllMain

The optional entry point into a dynamic-link library (DLL).

CAtlDllModuleT::DllRegisterServer

Adds entries to the system registry for objects in the DLL.

CAtlDllModuleT::DllUnregisterServer

Removes entries in the system registry for objects in the DLL.

CAtlDllModuleT::GetClassObject

Returns a class factory. Invoked by DllGetClassObject.

Remarks

CAtlDllModuleT represents the module for a dynamic-link library (DLL) and provides functions used by all DLL projects. This specialization of CAtlModuleT class includes support for registration.

For more information on modules in ATL, see ATL Module Classes.

Inheritance Hierarchy

_ATL_MODULE

CAtlModule

CAtlModuleT

CAtlDllModuleT

Requirements

Header: atlbase.h

See Also

Reference

CAtlModuleT Class

CAtlExeModuleT Class

ATL Module Classes

Other Resources

ATL Class Overview