views:

1512

answers:

3

Does anybody know a command line tool to recursively find a DLL dependencies? I tried dumpbin and depends that come with Visual Studio 2005, but dumpbin only finds the first level of dependencies, and depends output is not really computer friendly.

+1  A: 

Dependency Walker. It can be run in console mode (command line).

MadKeithV
The "depends" mentioned in the question is the exe name of Dependency Walker.
unwind
depends and Dependency Walker and the same thing. I know it can be run in command line, but I said the output is not computer friendly.
Jazz
Yeah, I missed that - my bad for being too quick to read the question. But I did intend Unwind's answer above - the csv version is easier to parse.
MadKeithV
A: 

Just write it with DB apis (10 minutes)

+7  A: 

Try the /oc:FILENAME option to depends, to write a comma-separated values file. This looks like it's easier to parse by machine than the "free-form" text file generated by the /ot:FILENAME/ option.

unwind