共用方式為


CAtlComModule Class

This class implements a COM server module.

class CAtlComModule : 
   public _ATL_COM_MODULE

Members

Public Constructors

Name

Description

CAtlComModule::CAtlComModule

The constructor.

CAtlComModule::~CAtlComModule

The destructor.

Public Methods

Name

Description

CAtlComModule::RegisterServer

Call this method to update the system registry for each object in the object map.

CAtlComModule::RegisterTypeLib

Call this method to register a type library.

CAtlComModule::UnregisterServer

Call this method to unregister each object in the object map.

CAtlComModule::UnRegisterTypeLib

Call this method to unregister a type library.

Remarks

CAtlComModule implements a COM server module, allowing a client to access the module's components.

This class replaces the obsolete CComModule class used in earlier versions of ATL. See ATL Module Classes for more details.

Inheritance Hierarchy

_ATL_COM_MODULE

CAtlComModule

Requirements

Header: atlbase.h

See Also

Reference

_ATL_COM_MODULE

Other Resources

ATL Class Overview