Carapace

NT Services

On NT, you can create services which run in the background irrespective of whether a user is logged on. You can use Carapace to provide such a service by following steps:

  1. create an NtService class to encapsulate the functionality you require in a standard interface
  2. register the Carapace service
  3. ensure the service runs with the desired permissions

Once these steps have been performed, the service will start up as required (eg. when the machine is started).

Finally, when the service is no longer required, it can be removed from the machine using the removeService function.

For suggestions on debugging a service, click here


Contents Index Current topic: NT Services Related topics: objects