View Single Post
  #4 (permalink)  
Old 04-14-2004
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Quote:
Originally posted by stephan
Sure would I like to get the patch
Edit the file src/Ice/Service.cpp and modify the ctrlCHandlerCallback function as shown below:
Code:
static 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.

Quote:
btw: Do you already have a (approximate) date for the next release?
No, we haven't set a target date yet.

Take care,
- Mark
Reply With Quote