Module from Thread

delphi package - easy access to kernel objects etc.

Module from Thread

Postby Unlimited » Mon Feb 23, 2009 2:53 pm

Hi madshi and All coder...

I need to find the threads created by "examplemodule.dll" inside "someprocess.exe". How do I know? Is it possible?

regards
unlimited
Unlimited
 
Posts: 28
Joined: Wed Feb 14, 2007 4:18 am

Postby madshi » Wed Feb 25, 2009 10:30 am

I don't think there's a simple and fool proof solution. You could check the callstack to see in which module code the thread is running. But there's no guarantee that this will tell you the creator of the thread (although it's probably that you'd get the right module).
madshi
Site Admin
 
Posts: 9476
Joined: Sun Mar 21, 2004 5:25 pm


Return to madKernel

Who is online

Users browsing this forum: No registered users and 1 guest