M
Meya-awe
Hi,
I have a console app, i want to be able to do some clean up when the
user exits the application. So, i need to capture the red close window
button event on the "cmd.exe" window. How can i do this?
I know that i can make my app a windows app and hide the window - right
now, this is not enough of a reason to go this route. And in that case,
i would have to have the user to go to the task manager or provide
another means to shutdown the app when needed such as another utility
program or write code into the prog to check for an already running
instance and shut it down and then continue.
thanks,
BRAMOIN
I have a console app, i want to be able to do some clean up when the
user exits the application. So, i need to capture the red close window
button event on the "cmd.exe" window. How can i do this?
I know that i can make my app a windows app and hide the window - right
now, this is not enough of a reason to go this route. And in that case,
i would have to have the user to go to the task manager or provide
another means to shutdown the app when needed such as another utility
program or write code into the prog to check for an already running
instance and shut it down and then continue.
thanks,
BRAMOIN