Dependency Walker:缺少 dll [英] Dependency Walker: missing dlls

查看:31
本文介绍了Dependency Walker:缺少 dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用 Dependency Walker 解决可执行文件的 .dll 依赖项.目前,我丢失了以下形式的 .dll:

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

例如:

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!

附加信息:我使用 Visual Studio 2013 编译了可执行文件.最有趣的是,我在编译过程中没有收到任何错误.但是,由于缺少依赖项,我无法运行它.我还附上了一个依赖步行者的截图:

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:

更新 1: 为了解决这个问题,我尝试将 VS 在编译期间使用的库的路径添加到 $PATH 环境变量中,但没有任何运气(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).

推荐答案

这些是 API 集 - 本质上,自 Windows 7 以来逐渐引入了额外的调用间接级别.在此之前,Dependency walker 开发似乎已经停止,并且无法处理 API 集正确.

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 alarms and nothing to worry about. You're not missing anything.

另见关于 API-MS-WIN-XXXXX.DLL 和其他依赖 Walker 故障.

直到 2017 年 10 月,才终于有人试图填补这一空白.了解 lucasg 的依赖关系.到目前为止,我只是简单地摆弄过它,但它处理 API 集很好,至少非常值得关注.

Only in Oct 2017 did someone finally try to fill this gap. Meet Dependencies by lucasg. I've only briefly fiddled with it until now, but it handles API sets well and is at least very worthy of attention.

这篇关于Dependency Walker:缺少 dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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