The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Find DLLs that an exe uses

Is there a utility that will list all the DLLs used by an executable? I want to use this information to package my software with as many DLLs bundled as possible.

Monday, November 20, 2006
Assuming you're talking about Windows, Microsoft provides a free Dependency Walker tool:

There are also 3rd party tools, google for "Dependency walker".

These will list DLLs referenced directly or indirectly by your app, but this won't include DLLs that are loaded dynamically (e.g. using COM).
Monday, November 20, 2006
Larry Page
Monday, November 20, 2006
You could use TaskInfo or Process Explorer to list all the ones for a process that is running.

Taskinfo -

Process Explorer -
SteveM Send private email
Monday, November 20, 2006
TaskInfo is perfect as the DLLS are loaded dynamically - thank you so much.
Monday, November 20, 2006
There is a tool called DLL Explorer which lets you take snapshots in time and compare them to see what references were added, incremented, etc.
Cade Roux Send private email
Monday, November 20, 2006
When you say "in time" do you mean during runtime?  That's awesome.
Meganonymous Rex Send private email
Monday, November 20, 2006
Tuesday, November 21, 2006
For a list of dll loaded by a process, see .
Jack Wang Send private email
Tuesday, November 28, 2006
DLL Explorer doesn't monitor continuously (when I used it) - you have to click the snapshot button (so you could use it in conjunction with a debugger).

We found it invaluable troubleshooting all the old COMCAT and related runtime DLL problems in the VB4/5 days - not so much as VB stabilized with version 6.  In the last 5 years, I think we've used it once to troubleshoot an installation which was behaving completely weird.
Cade Roux Send private email
Friday, December 01, 2006

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz