Partager via


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

Reference

CAtlServiceModuleT Class

CreateService

CAtlServiceModuleT::Uninstall

Other Resources

CAtlServiceModuleT Members