I have to implement an NT service with Delphi 4. The Classes TServiceApplication and TService are logic to me. The problem is that i do not know how to register the service within the NT (workstation or server) system.
Which is the instance that calls the Windows API functions CreateService, StartService and so on ?
When i start the application (TServiceApplication with one TService object) the events OnStart and OnExecute are never fired ? The application is running for about 15 secunds and than it stops.
Would be nice if you can help me !
Dipl. Ing. Bernhard Angerer
IFT / Vienna University of Technology
Tel: +43 1 58801 3192
Fax: +43 1 504 14 97