C++ Code for find dependency of a given DLL file [

2019-09-22 07:18发布

问题:

I want to write a c++ program which lists down the dependencies of a given DLL file.

Exactly like the dumpbin \DEPENDENTS <file name> command does.

回答1:

Have a look at Matt Pietrek's PeDump sample. He shows how that works



回答2:

Use Microsoft's PE specification to known how .exe and .dll files are structured. Check also this:

http://alcides-mp.com/2012/03/exports-control/



标签: c++ dll