Dependency walker hangs
<p>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).</p>
<p>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.</p>
<p>In a command window I ran this:</p>
<p>C:\Program Files (x86)\Windows Kits\8.1\Tools\x86&gt;start /wait depends.exe  /c /f:1 /pb /pp:1 /pg:1 /oc:d:\temp\Log.txt &quot;C:\Program Files (x86)\Microsoft Office\Office14\excel.exe&quot;</p>
<p>But it hangs.
<a href="https://i.stack.imgur.com/0ibkF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0ibkF.png" alt="enter image description here" /></a></p>
<p>I am using dependency walker version 2.2.9600 x86, Windows 8.1 x86, office 2010 x86</p>
<p>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.</p>
<p>I works on another machine Windows 10 x64, office 2013 x64 and dependency walker x64. I can profile Excel.</p>
<p><strong>Note</strong>: I ended up using Sysinternals Process Explorer instead. A bit more complicated but works.</p>