读取Dependency Walker输出 [英] Reading Dependency walker output

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

问题描述

在我的应用程序中使用其中一个Dll时遇到一些问题,并在其上运行了依赖遍历器.我不确定如何阅读,但是得到了以下结果

I am having some problems using one of the Dlls in my application and I ran dependency walker on it. i am not sure how to read it but I got following results

是否暗示任何x86-x64不兼容?反正有什么我可以解决的?

Does it suggest any x86-x64 incompatibilty? is there anyway I can solve this issue?

Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

推荐答案

当您查看Dependency Walker的64位版本中的32位可执行文件时,通常会看到这种视图.因为Dependency Walker是64位的,所以当它尝试在DLL搜索路径中查找DLL时,它将找到64位版本.您的32位程序将在WOW64仿真器中运行并找到32位版本.

You typically see that sort of view when you look at a 32 bit executable in the 64 bit version of Dependency Walker. Because Dependency Walker is 64 bit, when it tries to look for DLLs on the DLL search path it finds the 64 bit versions. Your 32 bit program will run in the WOW64 emulator and find the 32 bit versions.

因此,您提供的屏幕截图完全不需要关注.

So, the screenshot that you have presented, there is nothing at all to be concerned about.

如果您的应用程序存在依赖关系问题,建议您在Dependency Walker的Profile模式(从Profile菜单项中)下运行程序.这将为您提供有关加载时和运行时实际发生情况的详细诊断.您上面显示的屏幕截图来自静态分析,因此,这种静态分析始终是不完整的,并且可能不准确.确保程序加载时会发生什么的唯一方法是在加载时对其进行调试.

If you are having dependency problems with your app here I suggest that you run your program under Dependency Walker's Profile mode (from the Profile menu item). This will give you detailed diagnostics of what actually happens at load time and run time. The screenshot you present above is from a static analysis and by necessity such a static analysis is always incomplete and subject to inaccuracies. The only way to be sure of what happens when your program loads, is to debug it as it loads.

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

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