Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB DLL parent process name

Status
Not open for further replies.

gkfox

Programmer
May 28, 2001
4
US
Does anyone know how to get info
(ie the name) of the PROCESS that has loaded
a particular instance of a DLL?

I have seen examples of walking through the
process and module lists to build a tree of
all running processes and the pathnames of the
modules they have loaded. This is not what I
am looking for.

I would like for a particular instance of a
class to be able to figure out what program
loaded it. I figure that with the App.hInstance
or the App.ThreadID I should be able to work
backwards and figure it out. Have searched high
and low for a hint but have come up dry.

TIA, Greg Fox
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top