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"
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.