Search code examples
dllexecutable

How do I find out which dlls an executable will load?


If I have a Windows executable, how can I find out which dlls it will load?

I'm just talking about which ones that will be loaded statically, not ones it might load dynamically with something like LoadLibrary.


Solution

  • There are utilities that will do this for you.

    In the past I've used the MS tool (depends.exe) that came with (I think) VB.:
    VS2010 VS2012 VS2013 VS2015 Current

    and there's this as well:
    http://dependencywalker.com/

    and probably others as well.