This documentation is archived and is not being maintained.

CAtlServiceModuleT Class

This class implements a service.

template < 
   class T, 
   UINT nServiceNameID  
class ATL_NO_VTABLE CAtlServiceModuleT : 
   public CAtlExeModuleT< T >


Your class derived from CAtlServiceModuleT.


The resource identifier of the service.

CAtlServiceModuleT, derived from CAtlExeModuleT, implements a ATL Service module. CAtlServiceModuleT provides methods for command-line processing, installation, registering, and removal. If extra functionality is required, these and other methods can be overridden.

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

Header: atlbase.h