System.Win.ComObj.RegisterAsService
From RAD Studio API Documentation
Delphi
procedure RegisterAsService(const ClassID, ServiceName: string);
C++
extern DELPHI_PACKAGE void __fastcall RegisterAsService(const System::UnicodeString ClassID, const System::UnicodeString ServiceName);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.Win.ComObj.pas System.Win.ComObj.hpp |
System.Win.ComObj | System.Win.ComObj |
Description
Registers a COM object as an NT service.
Use RegisterAsService to register a service given a classID. ClassID specifies the classID of the COM object that implements the service. ServiceName specifies the name under which the object is registered.