要检查一个exe的依赖dll. [英] Want to check dependent dll of an Exe.

查看:369
本文介绍了要检查一个exe的依赖dll.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一台客户机,它是生产服务器.操作系统是Windows 2003 Server.显然未安装Visual Studio.
我要检查应用程序的依赖dll.
Windows是否提供了任何内置实用程序,可以使用它来实现此目的.



(我知道Depdency Walker和许多其他工具都可以在网络上使用,但是我不能在服务器上安装任何东西,因为它是实时服务器.)

在此先感谢您.

Hi,

I have a client machine which is a production server. Os is Windows 2003 Server. Visual Studio is obiviously not installed.
I want to check the dependent dlls of the application.
Is ther any inbuilt utility provided by Windows, using which i can achieve this.



(I know that depdency walker and many other tools are available on the net, But i cannot install anything on the server as it is a live server.)

Thanks in advance.

推荐答案

如果服务器具有CD-ROM或DVD驱动器,则可以将Sysinternals Process Explorer放在CD上并从CD执行实用程序(他们需要在将它们刻录到CD之前先解压缩)

http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx [ ^ ]

这些是用于诊断Windows环境中许多问题的大量实用程序.
If the server has a CD Rom or DVD drive you can put Sysinternals Process Explorer on a cd and execute the utility from the CD (They need to be unzipped prior to burning them to a cd)

http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx[^]

These are a great set of utilities for diagnosing many issues with the Windows environment.


DependencyWalker不需要大量安装...它只是一个可执行文件,您可以打开目标可执行文件从中查看依赖项是什么.您只需要USB驱动器(或类似的驱动器)上的可执行文件,就可以使用它(包括拇指驱动器!).

您也不必一定要检查目标计算机上的依赖关系,您可以在其他地方检查依赖关系(因为它们不会在系统之间更改系统),那么您要做的就是确保所有依赖关系都适用于您的目标计算机.应用程序既可以与软件一起安装,也可以进行相应的部署.
DependencyWalker doesn''t require much of an install... its just an executable that you open the target executable from to see what the dependencies are. All you need is the executable on a USB drive (or something similar) and you can use it (including from the thumb drive!).

You also don''t need to check dependencies on your target machine necessarily, you can check for dependencies elsewhere (since they won''t change system to system), then all you have to do is make sure that all your dependencies for your application are either installed with your software or are deployed accordingly.


可能有一些方法可以通过编程方式进行.但这将是一项艰巨的任务,例如开发依赖助行器.
一种无需在服务器上安装任何东西的解决方案是,
将应用程序从服务器计算机复制到已安装依赖项检查器工具的本地计算机.我认为您的应用程序大小不会太大,如果无法复制应用程序的任何依赖dll,该工具将列出该文件.
there may be some way to do this progrmatically. but it is going to be such a big task like developing a dependancy walker tool.
one solution to this without installing anything on server is that,
copy the application from your server machine to a local machine where you have installed your dependancy checker tool.I assume your application size is not too big to copy.if you failed to copy any depended dll of the application, the tool will list it.


这篇关于要检查一个exe的依赖dll.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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