T
tascien
I created a window service...
When i stop the service through MMC, it can see in the EventLog that it
calls OnStop() within the service... and all stop handling routines are
processed gracefully...
but when i do, Start, ShutDown to restart the computer, the EventLog
does not show anything...
Can i trust that the OnStop was called anyway? If not, how to make sure
windows calls my OnStop before shutting down?
Thanks.
When i stop the service through MMC, it can see in the EventLog that it
calls OnStop() within the service... and all stop handling routines are
processed gracefully...
but when i do, Start, ShutDown to restart the computer, the EventLog
does not show anything...
Can i trust that the OnStop was called anyway? If not, how to make sure
windows calls my OnStop before shutting down?
Thanks.