How to view DLL functions?

2019-01-16 04:27发布

问题:

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

回答1:

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.



回答2:

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



回答3:

You may try the Object Browser in Visual Studio.

Select Edit Custom Component Set. From there, you can choose from a variety of .NET, COM or project libraries or just import external dlls via Browse.



回答4:

dumpbin /IMPORTS should provide the function imported into that DLL.
dumpbin /EXPORTS should provide the functions it exports.



回答5:

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

So how about .NET Reflector



回答6:

For .NET DLLs you can use ildasm



回答7:

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.



回答8:

Use dotPeek by JetBrains.

https://www.jetbrains.com/decompiler/

dotPeek is a free tool based on ReSharper. It can reliably decompile any .NET assembly into C# or IL code.



标签: windows dll