Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Sep : Get ThreadHandle by ThreadId : HOW?

www.cryer.info
Managed Newsgroup Archive

Get ThreadHandle by ThreadId : HOW?

Subject:Get ThreadHandle by ThreadId : HOW?
Posted by:"Rainer Queck" (rainer.que..@gmx.de)
Date:Fri, 21 Sep 2007 10:19:50

Hello NG,

I am still working with D5.
In my app I must terminate a thread, but all I have is its ID.
TerminateThread(..) need the threads handle.
How can I get the handle of a thread only having its ID?

Thanks for help!

Regards
Rainer

Replies:

www.cryer.info
Managed Newsgroup Archive