EDN Admin
Well-known member
<p class=MsoNormal><span style="font-size:11pt;font-family: Hi,
<p class=MsoNormal style="text-indent:0.5in <span style="font-size:11pt;font-family: How can I detect when a console application gets exited in c# (When the user presses the close button or Ctrl C).I tried by setting <span style="font-size:10pt;font-family: SetConsoleCtrlHandler <span style="font-size:11pt;font-family: as specified in <a title="http://geekswithblogs.net/mrnat/archive/2004/09/23/11594.aspx http://geekswithblogs.net/mrnat/archive/2004/09/23/11594.aspx http://geekswithblogs.net/mrnat/archive/2004/09/23/11594.aspx . This is not working all times. How can I know the reason for the API failure? Is there any other way to get the close event?
<p class=MsoNormal style="text-indent:0.5in <span style="font-size:11pt;font-family:
Regards
Eby
<p class=MsoNormal><span style="font-size:11pt;font-family:
View the full article
<p class=MsoNormal style="text-indent:0.5in <span style="font-size:11pt;font-family: How can I detect when a console application gets exited in c# (When the user presses the close button or Ctrl C).I tried by setting <span style="font-size:10pt;font-family: SetConsoleCtrlHandler <span style="font-size:11pt;font-family: as specified in <a title="http://geekswithblogs.net/mrnat/archive/2004/09/23/11594.aspx http://geekswithblogs.net/mrnat/archive/2004/09/23/11594.aspx http://geekswithblogs.net/mrnat/archive/2004/09/23/11594.aspx . This is not working all times. How can I know the reason for the API failure? Is there any other way to get the close event?
<p class=MsoNormal style="text-indent:0.5in <span style="font-size:11pt;font-family:
Regards
Eby
<p class=MsoNormal><span style="font-size:11pt;font-family:
View the full article