Hi,
My app runs a service and in some cases it need to stop the service and restart it.
I do this by (code
in the service):
StartServiceAt("Service_Main", nextConnectAt, True)
StopService("")
where
nextConnectAt would tradionally be a second in the future.
Could it be a problem that service has not yet fully stopped before it was scheduled to restart ?
And also: would it be better to first stop and then schedule the restart ?
Or: would it be better to reschedule the service in the
Service_Destroy ?
Thanks !