简体   繁体   中英

Find dependent modules of dll

I have my own custom.dll (C++, Windows) library which depends on : zlib.dll, iconv.dll, etc. The custom.dll is loaded by custom.exe.

Is there way in C++/WinAPI to find list of modules custom.dll depends in runtime?

There is function EnumProcessModules which works for process.

Is there something for dynamic library loaded by process? As sample, the dependecy walker utility, fileInfo plugin display this information properly.

Take a look at dependency walker. It does exactly what you're asking for. http://www.dependencywalker.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM