Freigeben über


CAtlServiceModuleT::Install

Installs and creates the service.

BOOL Install( ) throw( );

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

Installs the service into the Service Control Manager (SCM) database and then creates the service object. If the service could not be created, a message box is displayed and the method returns FALSE.

Requirements

Header: atlbase.h

See Also

Concepts

CAtlServiceModuleT Class

CAtlServiceModuleT Members

CreateService

CAtlServiceModuleT::Uninstall