How to view DLL functions?
WindowsDllWindows Problem Overview
I have a DLL file. How can I view the functions in that DLL?
Windows Solutions
Solution 1 - Windows
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.
Solution 2 - Windows
Use the free DLL Export Viewer, it is very easy to use.
Solution 3 - Windows
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.
Solution 4 - Windows
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.
Solution 5 - Windows
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.
Solution 6 - Windows
For .NET DLLs you can use ildasm
Solution 7 - Windows
Without telling us what language this DLL/assembly is from, we can only guess.
So how about .NET Reflector.
Solution 8 - Windows
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.
Solution 9 - Windows
>.NET ildasm
ildasm helped and even dumped methods body, but to edit .DLL you also need any hex editor.
ildasm example to fix Help Viewer v2.x issue:
error: "An error occurred while updating content: File '???.cab' was not signed by Microsoft"