and how you handle windows event? i mean once windows tell the application to close...
my task never done, but user may want to finish it... so it click over CMD close button, and it generate an error, directly to user, not to application, and terminate application, without saving state...
BTW, TNX