Utility for viewing which files/dlls are loaded by an executable image
17,724
Solution 1
use Process Monitor or Process Explorer.
Solution 2
Visual Studio does it well. Use Tools > Attach to Process, Debug > Break All. Then Debug > Windows > Modules. For VS2015+ start that with Debug > Attach to Process.
Solution 3
The command line route is ListDLLs from Sysinternals.
It can list DLLs loaded by a process, or list processes that loaded a given DLL.
Author by
GregH
Updated on July 26, 2022Comments
-
GregH almost 2 years
I know there is a utility for this because I used to use it...just can't remember the name. I'm looking for a Windows (Windows-7) utility that will allow me to select an executable image running and have it tell me what files/dlls that program has loaded and from what directory. I am writing software in Visual Studio and would like to verify at runtime which dlls my program is loading.
-
GregH about 13 yearsThat's it "Process Explorer"...excellent little utility. Thanks!
-
Tomáš Zato over 8 yearsYou forgot to say how to do it with process explorer. It shows lot of stuff, but I don't see list of DLL files anywhere.
-
Appleshell over 5 yearsTo see DLLs loaded by a process with PE, select
View->Lower Pane View->DLLs
. -
Dominique over 2 yearsKeep out: in some cases, the list, provided by the mentioned tool, is incomplete.