Click to See Complete Forum and Search --> : How to kill a thread while creating another one


vikrant
September 10th, 1999, 01:44 AM
I wanna kill a previously created background thread at the time of exiting
the application.Please help.

Lothar Haensler
September 10th, 1999, 02:10 AM
you can kill a thread using TerminateThread.
I'd rather tell the thread to end itself via events. The Thread should then call ExitThread.