Hi ,
How do I kill a thread that was created by using CreateThread API ?
And what is the difference between TerminateThread and ExitThread APIs ?
I am running a code within a newly created Thread wihch basically just runs an infinite loop but I can't manage to stop or kill the thread in order to exit the loop !!
When I try calling the 2 APIs above, instead of ending the thread, they just manage to crash the whole application :eek2:
Any thoughts ?
Thanks
