Page 1 of 1

DLL -- What is the exe?

Posted: Tue Oct 18, 2011 2:54 pm
by jassing
In a dll; is there a way to tell what the exe is that loaded it?

Re: DLL -- What is the exe?

Posted: Tue Oct 18, 2011 10:30 pm
by Thorium
GetModulFileName API.
Set hModul to 0 to get the .exe name.

Re: DLL -- What is the exe?

Posted: Tue Oct 18, 2011 11:35 pm
by jassing
Nice! Thank you.