我想知道Win32.DLL中有哪些功能可用 [英] I want to know what functions are available from a Win32.DLL

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

问题描述

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



有什么办法可以发现DLL导出的功能和方法签名? p>

也许有一个实用程序列出了这些功能和参数。



知道吗?

解决方案

Windows SDK用于包含可用于浏览DLL内容的依赖性行为者 GUI实用程序:


Dependency Walker是一个免费的实用程序,用于扫描任何32位或64位Windows模块(exe,dll,ocx,sys等)并构建所有依赖模块的分层树状图。对于找到的每个模块,它列出了该模块导出的所有功能,以及其他模块实际调用哪些功能。另一个视图显示所需文件的最小集合,以及每个文件的详细信息,包括文件的完整路径,基址,版本号,计算机类型,调试信息等。


< blockquote>

如今,可以在这里找到



对于方法签名细节和创建互连连接 .NET 代码,请在 pinvoke网站。您还可以尝试其加载项到Visual Studio 2003和2005。


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.

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.

Know of any?

解决方案

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

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.

Nowadays, it can be found here.

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