Dependency walker hangs

三世轮回 提交于 2021-02-18 22:56:27

问题


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.

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.


回答1:


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.



来源:https://stackoverflow.com/questions/40549702/dependency-walker-hangs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!