我想知道什么功能都可以从Win32.DLL [英] I want to know what functions are available from a Win32.DLL

查看:147
本文介绍了我想知道什么功能都可以从Win32.DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有了一些有用的功能,我想在我的应用程序调用的DLL文件。不幸的是我没有为它的文档不再。

I have a DLL file that has some helpful functions I want to call in my application. Unfortunately I don't have the documentation for it any longer.

有没有什么办法可以发现哪些是由DLL导出的函数和它们的方法签名?

Is there any way I can discover what are the functions exported by the DLL and their method signature?

也许有一个实用工具,列出的功能和它们的参数。

Maybe there's a utility that lists the functions and their arguments.

知道有什么?

推荐答案

用于包括Windows SDK中的依赖学步车的,可用于探索DLL内容的GUI工具:

The windows SDK used to include the dependency walker GUI utility that can be used to explore DLL content:

的Dependency Walker是一个免费的实用工具,它可以扫描任何32位或64位Windows模块(EXE,DLL,OCX,SYS等),并建立所有相关模块的分层树形图。对于找到的每一个模块,它会列出所有由该模块输出,并且这些功能实际上被调用其它模块的功能。另一种观点显示了最低限度所需的文件,以及每个文件包括一个完整的文件路径,基地址,版本号,机器类型,调试信息等。

Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules. Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more.

目前,它可以在这里找到

有关方法签名的细节,创造相互连接 .NET code,在的的PInvoke网站。您也可以尝试自己加载到Visual Studio 2003和2005。

For method signature detail and creating inter-connection .NET code, look for your DLL in the pinvoke site. You can also try their add-in to Visual Studio 2003 and 2005.

这篇关于我想知道什么功能都可以从Win32.DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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