RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComObj.RegisterAsService Function

Registers a COM object as an NT service.

Pascal
procedure RegisterAsService(const ClassID: string; const ServiceName: string);
C++
RegisterAsService(const AnsiString ClassID, const AnsiString ServiceName);

ComObj

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. 

 

TService

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!