Condividi tramite


CAtlModuleT Class

This class implements an ATL module.

template < 
   class T  
>  
class ATL_NO_VTABLE CAtlModuleT : 
   public CAtlModule

Parameters

  • T
    Your class derived from CAtlModuleT.

Members

Public Constructors

Name

Description

CAtlModuleT::CAtlModuleT

The constructor.

Public Methods

Name

Description

CAtlModuleT::InitLibId

Initializes the data member containing the GUID of the current module.

CAtlModuleT::RegisterAppId

Adds the EXE to the registry.

CAtlModuleT::RegisterServer

Adds the service to the registry.

CAtlModuleT::UnregisterAppId

Removes the EXE from the registry.

CAtlModuleT::UnregisterServer

Removes the service from the registry.

CAtlModuleT::UpdateRegistryAppId

Updates the EXE information in the registry.

Remarks

CAtlModuleT, derived from CAtlModule, implements an Executable (EXE) or a Service (EXE) ATL module. An Executable module is a local, out-of-process server, whereas a Service module is a Windows application that runs in the background when Windows starts.

CAtlModuleT provides support for initializing, registering, and unregistering of the module.

Inheritance Hierarchy

_ATL_MODULE

CAtlModule

CAtlModuleT

Requirements

Header: atlbase.h

See Also

Reference

CAtlModule Class

ATL Module Classes

Other Resources

ATL Class Overview