How do I end a thread?
I used the sample code below to execute the thread:
var vThread : Integer;
vThread := Thread.create(False);
When I click Button2, the Thread should stop... How can I do that?
I thought of using ExitThread but I dont know how to use the GetExitCodeThread function to get the exit code of the thread.
PLease help... thanks