Click to See Complete Forum and Search --> : [VC++ .NET 2003] Aborting all threads before exiting application


thegrinch
August 9th, 2007, 05:10 AM
Hi guys!

My application is working with multiple threads. No problem so far.

But if there is still a thread running when the user exits the application (by calling this->close(), or exit(0), or even by clicking the x-button in the titlebar), then this thread stays alive.

How can I handle the event when the user asks to quit the application?



Thank you for your helpful answers in advance!

best regards!

thegrinch