Archived
This forum has been archived. Please start a new discussion on GitHub.
Error in service implementation
Dear people at ZeroC,
When running my services on my Windows 2003/ XP/ NT machines and changing the current user, the service will be terminated. As this is quite uncommon for services, I'd like to ask you to change this behavior
Unfortunately I did not find no error in your current implementation, but I hope that you will be able to track it down successfully
kind regards,
Stephan
When running my services on my Windows 2003/ XP/ NT machines and changing the current user, the service will be terminated. As this is quite uncommon for services, I'd like to ask you to change this behavior

Unfortunately I did not find no error in your current implementation, but I hope that you will be able to track it down successfully

kind regards,
Stephan
0
Comments
-
Hi Stephan,
Thanks for the bug report. This problem will be fixed in the next release. Please let me know if you'd like a temporary workaround.
Take care,
- Mark0 -
Hi Mark!Please let me know if you'd like a temporary workaround.
Sure would I like to get the patch
btw: Do you already have a (approximate) date for the next release?
regs,
Stephan0 -
Originally posted by stephan
Sure would I like to get the patchstatic void ctrlCHandlerCallback(int sig) { #ifdef _WIN32 if(sig == CTRL_LOGOFF_EVENT) { return; } #endif Ice::Service* service = Ice::Service::instance(); assert(service != 0); service->handleInterrupt(sig); }
Note that this is only a temporary workaround, as it only applies to Windows and always ignores CTRL_LOGOFF_EVENT. We will provide a better solution in the next release.btw: Do you already have a (approximate) date for the next release?
Take care,
- Mark0