my demo appication is :
----------------------------------------------------
class DemoApp : virtual public Ice::Service
{
...
}
----------------------------------------------------
when click Ctrl+C, the log of my appication is:
----------------------------------------------------
17:03:27.234 Thread5476 INFORMATION Program BEGIN.
17:03:28.234 Thread5476 INFORMATION ICE startting ...
......
17:03:28.390 Thread5476 INFORMATION ICE startted.
......
17:03:38.859 Thread5476 INFORMATION ICE stopping...
......
17:03:40.093 Thread5476 INFORMATION ICE stopped.
17:03:40.296 Thread5476 INFORMATION Program END.
----------------------------------------------------
when click close button of the console windows,the log of my appication is:
----------------------------------------------------
17:03:27.234 Thread5476 INFORMATION Program BEGIN.
17:03:28.234 Thread5476 INFORMATION ICE startting ...
......
17:03:28.390 Thread5476 INFORMATION ICE startted.
......
17:03:38.859 Thread5476 INFORMATION ICE stopping...
----------------------------------------------------
why "Ctrl+c" different from "close button of console window"?
Ice version (Ice 3.4.1)
Compiler version (Visual Studio 2008)
Operating system (Windows xp)

Reply With Quote