OnShutDown does not work

C

Croco Stimpy

I have a service that must know when the OS shuts down, so it can perform
some cleanup.
I just found that the OnShutDown event never fires when the machine shuts
down!

I did some checking and lots of others are complaining about the same thing.
Has anyone come up with a work around? Is there a hotfix? Anything?

Visual Studio 2005
Windows Server 2003 SP1.
 
G

Guest

Have you set CanShutdown to true?

I have my OnShutdown event firing, I am trying to test it by sendind a
shutdown event to my service from another app... can anyone help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top