Dependency walker hangs

dependsdlloffice-2010windows-8.1

I have a problem with my.xll addin when it loads on my clients PC.
It crashes Excel at startup (possible because of missing dependent dlls).

I know it is possible to use dependency walker in profile mode to find out what dlls are loaded when the .exe runs.
When I try that dependency walker hangs when profiling Excel, and I can’t find out why.

In a command window I ran this:

C:\Program Files (x86)\Windows Kits\8.1\Tools\x86>start /wait depends.exe /c /f:1 /pb /pp:1 /pg:1 /oc:d:\temp\Log.txt "C:\Program Files (x86)\Microsoft Office\Office14\excel.exe"

But it hangs.
enter image description here

I am using dependency walker version 2.2.9600 x86, Windows 8.1 x86, office 2010 x86

I also tried to setup a VM machine with a clean install of win 8.1 and Office 2010 but XL does not crash on that machine when I load the .xll.

I works on another machine Windows 10 x64, office 2013 x64 and dependency walker x64. I can profile Excel.

Note: I ended up using Sysinternals Process Explorer instead. A bit more complicated but works.

Best Answer

I'm currently on Windows 10 build 1809, and depends.exe hangs for every dll I try it with. The depends home page says "Dependency Walker runs on Windows 95, 98, Me, NT, 2000, XP, 2003, Vista, 7, and 8" so I guess it's not supported.

Try Dependencies - An open-source modern Dependency Walker, it works fine for me.

Related Topic