如何检测应用程序所需的 DLL?

编程入门 行业动态 更新时间:2024-10-22 22:49:34
本文介绍了如何检测应用程序所需的 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?

本文发布于:2023-11-09 05:45:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1571535.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:所需   应用程序   DLL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!