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

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

问题描述

简单来说,我想做Dependency Walker这样的事情。



有没有Win32 API函数可以枚举EXE的依赖关系/或DLL文件?



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



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

解决方案

似乎Dependency Walker源代码本身是由Microsoft通过MSJ发布的。请
查看 Re:[DUG ]:依赖性Walker



您需要参考其他网站下载,因为此邮件踪迹中提供的链接不起作用。 / p>

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


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

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

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

EDIT: 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.

解决方案

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.

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天全站免登陆