依赖性沃克:丢失dll [英] Dependency Walker: missing dlls

查看:776
本文介绍了依赖性沃克:丢失dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用 Dependency Walker 解析可执行文件的.dll依赖关系。目前,我正在以下列形式丢失.dll:



API-MS-WIN -XXX



EXT-MS-WIN -XXX



例如:



$ pre> API-MS-WIN-APPMODEL-IDENTITY-L1-2-0.DLL
API-MS-WIN-APPMODEL-RUNTIME-INTERNAL-L1-1- 0.DLL
API-MS-WIN-BASE-UTIL-L1-1-0.DLL
API-MS-WIN-CORE-APIQUERY-L1-1-0.DLL
EXT -MS-WIN-RTCORE-NTUSER-SYSCOLORS-L1-1-0.DLL

有人有任何关于如何解决这些问题的想法?
任何帮助将不胜感激!



附加信息:我使用Visual Studio 2013 。最有趣的是编译时没有收到任何错误。但是,由于缺少依赖关系,我无法运行它。我还附上了依赖性助行器的屏幕截图:





更新1:为了解决这个问题,我试图将编译期间使用的库的路径添加到$ PATH 环境变量中,而不用运行(依赖关系Walker 仍然显示未解决的依赖项)。

解决方案

这些是API集 - 本质上,一个额外的调用间接级别自Windows 7逐渐引入。依赖性助行器开发似乎在此之前停止,并且它无法正确处理API集。



所以这些都是假阴性,没有什么可担心的。你不会丢失任何东西。



另请参阅在API-MS-WIN-XXXXX.DLL和其他依赖性Walker Glitches 上。


I have been trying to resolve .dll dependencies for the executable file with Dependency Walker. Currently, I am getting missing .dlls in the following form:

API-MS-WIN-XXX

EXT-MS-WIN-XXX

For example:

API-MS-WIN-APPMODEL-IDENTITY-L1-2-0.DLL
API-MS-WIN-APPMODEL-RUNTIME-INTERNAL-L1-1-0.DLL
API-MS-WIN-BASE-UTIL-L1-1-0.DLL
API-MS-WIN-CORE-APIQUERY-L1-1-0.DLL
EXT-MS-WIN-RTCORE-NTUSER-SYSCOLORS-L1-1-0.DLL

Does anybody have any ideas on how to resolve these? Any help will be greatly appreciated!

Additional info: I compiled the executable using Visual Studio 2013. The most interesting thing is that I did not receive any errors during compilation. However, I cannot run it due to missing dependencies. I also attached a screenshot of dependency walker:

Update 1: As an attempt to solve the problem I tried to add the path for the libraries that VS used during compilation to the $PATH environment variable without any luck (Dependency Walker still shows unresolved dependencies).

解决方案

These are API-sets - essentially, an extra level of call indirection introduced gradually since windows 7. Dependency walker development seemingly halted long before that, and it can't handle API sets properly.

So these are all false negatives and nothing to worry about. You're not missing anything.

Also see On API-MS-WIN-XXXXX.DLL, and Other Dependency Walker Glitches.

这篇关于依赖性沃克:丢失dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆