Page 1 of 1

Module from Thread

Posted: Mon Feb 23, 2009 2:53 pm
by Unlimited
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

Posted: Wed Feb 25, 2009 10:30 am
by madshi
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).