How to determine what DLL\'s a binary depends on using programmatic methods?
To be clear, I am not trying to determine the DLL dependencies of the running exec, bu
In a nutshell, you need to scan the PE file's imports section for each DLL used by the executable. Then recursively locate and scan each dll until you've found all the dependencies.
Of course, apps can use the LoadLibrary family of functions for required or optional functionality. That won't be detected with this method.