Search found 1 match
- Tue Apr 14, 2009 10:08 pm
- Forum: madRemote
- Topic: How to get PID of last created thread in process
- Replies: 2
- Views: 15614
How to get PID of last created thread in process
How to get PID of last created thread in process ? i use function to get first : function GetThreadID(ProcessID : DWORD ) : DWORD ; var Handle:tHandle; ThreadEntry : ThreadEntry32; GotThread : Boolean; begin Handle:=CreateToolHelp32SnapShot(TH32CS_SNAPTHREAD ,0); ThreadEntry.dwSize:=SizeOf(ThreadEnt...