Control panel applet and services start / pause / stop
Posted on 2004-10-22
I'm sorry in advance for my english...
I've wrote a little service in delphi... it work greate !
Now I want to config it from control panel...
I've wrote a little program that change value into registry, and i'va added tree buttons for start / pause / stop the service
The application work perfectly, but when I transform it into a control panel applet, all function I call in the unit WinSvc raise an Access violation error :-(
I think that it is in connection with the handle but I don't know the solution...
I'm using Delphi7 Ent., no third party components.