How to view DLL functions?

后端 未结 8 543
余生分开走
余生分开走 2020-11-30 18:47

I have a DLL file. How can I view the functions in that DLL?

相关标签:
8条回答
  • 2020-11-30 19:17

    Use dumpbin command-line.

    • dumpbin /IMPORTS <path-to-file> should provide the function imported into that DLL.
    • dumpbin /EXPORTS <path-to-file> should provide the functions it exports.
    0 讨论(0)
  • 2020-11-30 19:18

    For native code it's probably best to use Dependency Walker. It also possible to use dumpbin command line utility that comes with Visual Studio.

    0 讨论(0)
  • 2020-11-30 19:18

    If a DLL is written in one of the .NET languages and if you only want to view what functions, there is a reference to this DLL in the project.

    Then doubleclick the DLL in the references folder and then you will see what functions it has in the OBJECT EXPLORER window

    If you would like to view the source code of that DLL file you can use a decompiler application such as .NET reflector. hope this helps you.

    0 讨论(0)
  • 2020-11-30 19:29

    For .NET DLLs you can use ildasm

    0 讨论(0)
  • 2020-11-30 19:29

    Without telling us what language this dll/assembly is from, we can only guess.

    So how about .NET Reflector

    0 讨论(0)
  • 2020-11-30 19:30

    Use the free DLL Export Viewer, it is very easy to use.

    0 讨论(0)
提交回复
热议问题