如何检测应用程序所需的 DLL? [英] How do I detect the DLLs required by an application?

查看:25
本文介绍了如何检测应用程序所需的 DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简而言之:我想做与Dependency Walker"相同的事情.

In a nutshell: I want to do the same thing "Dependency Walker" does.

是否有任何可以枚举 EXE 和/或 DLL 文件的依赖项的 Win32 API 函数?

Is there any Win32 API function which can enumerate the dependencies of a EXE and/or DLL file?

是否有任何安全的方法来检测对 ActiveX 类的依赖关系?(我怀疑这是可能的,但谁知道...)

And is there any safe way to detect dependencies on ActiveX classes? (I doubt it is possible, but who knows ...)

我知道提供相同核心功能的可用工具(Dependency Walker、ProcessExplorer、AQTime 等),但我想创建自己的程序来转储文本文件包含所需的模块.

I'm aware of available tools which provide the same core functionality (Dependency Walker, ProcessExplorer, AQTime, ...) but I want to create my own program which dumps a text file containing the required modules.

推荐答案

Dependency Walker 源代码本身似乎是 Microsoft 通过 MSJ 提供的.请看看 Re:[DUG]:Dependency Walker.

It seems that Dependency Walker source code itself was given by Microsoft via MSJ. Please look at Re: [DUG]: Dependency Walker.

您需要参考其他网站进行下载,因为此邮件路径中提供的链接无效.

You need to refer some other site to download since the link given in this mail trail is not working.

请检查MSJ 源代码更新:由于我没有时间,我没有检查它是否包含源代码或只有EXE foæes.

Please check MSJ Source Code Updates: Since I don't have time, I have not checked whether it contains source code or only EXE foæes.

这篇关于如何检测应用程序所需的 DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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