J
Jabba
Hello,
I've written a (quite complicated) windows service using C# ,
starting from a wizzard generated project.Added custom installers,
installs and run just fine, does all the work it's supposed to do.
I do not change the CanStop propery anywhere in the code.
But the OnStop protected overriden method is never triggered, and
thus, my cleanup code is never executed.
Searching the Internet high and low, I could not find a similar
problem.Everyone seems to be getting their onstop just fine.
Today, I've put together a simple service, straight out of the
wizzard and with the bare/minimum installers added.Again, the OnStop
doesn't trigger.
Any ideas?
Thanks,
Jabba
I've written a (quite complicated) windows service using C# ,
starting from a wizzard generated project.Added custom installers,
installs and run just fine, does all the work it's supposed to do.
I do not change the CanStop propery anywhere in the code.
But the OnStop protected overriden method is never triggered, and
thus, my cleanup code is never executed.
Searching the Internet high and low, I could not find a similar
problem.Everyone seems to be getting their onstop just fine.
Today, I've put together a simple service, straight out of the
wizzard and with the bare/minimum installers added.Again, the OnStop
doesn't trigger.
Any ideas?
Thanks,
Jabba