RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TService Class

TService encapsulates a Windows NT service.

Pascal
[SecurityPermission(SecurityAction.Demand, Unrestricted=True)]
TService = class(TDataModule);
C++
[SecurityPermission(SecurityAction.Demand, Unrestricted=True)]
class TService : public TDataModule;

TService encapsulates a Windows NT service in an NT service application. A Win32 service is accessed via the Service Control Manager and can be started automatically at system boot, by a user through the Services control panel applet, or by a Win32-based application that uses the service functions. Services can execute even when no user is logged on to the system. Windows NT also supports a driver service that does not interact with the SCM. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!