Hi
I have been writing a client service for windows 98. I have been adding a
key HKLM\software\microsoft\windows\currentVersion\run services to execute
the program. Within the code I am calling
registerServiceProcess(getCurrentProcessID,1) to register the code as a
service on the create event associated with a datamodule. I have
registerServiceProcess(getCurrentProcessID,0) on the destroy event (not sure
why??? It was recommended that I do that...)
The app seems to be registered as a service, as it disappears from task
manager, however, when I log off the service is closed. What should I be
doing to prevent my service from being closed when a user log's off?
Thanks for any help given
Dave
|