Udostępnij za pośrednictwem


CAtlServiceModuleT Class

This class implements a service.

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

Parameters

  • T
    Your class derived from CAtlServiceModuleT.

  • nServiceNameID
    The resource identifier of the service.

Remarks

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.

Requirements

Header: atlbase.h

See Also

Reference

CAtlExeModuleT Class

Other Resources

CAtlServiceModuleT Members

ATL Class Overview