Which program in Visual Studio lets me look into DLLs to see its API?

后端 未结 8 1181
鱼传尺愫
鱼传尺愫 2020-12-14 14:45

See the question. I want to see the methods and classes offered by a DLLs library.

相关标签:
8条回答
  • 2020-12-14 15:22

    There's also the DLL export viewer if you don't have VS installed on a machine.

    0 讨论(0)
  • 2020-12-14 15:32

    If the DLL is a .NET assembly you might want to take a look at Reflector for a more detailed view.

    0 讨论(0)
  • 2020-12-14 15:37
    • ILSpy is an open-source tool which allows you to browse an assembly's packages and classes and also to decompile code.

    • Another free-of-charge tool is JetBrain's dotPeek.

    0 讨论(0)
  • 2020-12-14 15:43

    Outside of Visual Studio, you can use a dependency tool which is able to inspect DLL and EXE imports and exports, it integrates with the shell and is very easy to use. It comes with some Microsoft SDKs. If you want to avoid the hassle of downloading and installing SDK just because of this, easy download links for all 32b/64b platforms are available at http://www.dependencywalker.com/

    Microsoft documentation (no download) is available at MicroSoft Technet

    Similar functionality is also available in SysInternals Process Explorer - best suited when inspecting running processes.

    0 讨论(0)
  • 2020-12-14 15:45

    There's a dependency tracker tool that comes with the Windows SDK (formerly the Platform SDK), it's got a reasonable GUI for looking inside executables and DLL's.

    There are also some command line tools that you can use to see inside of dll's, dumpbin in particular - check the MSDN help in visual studio for more information. You can run these tools from the command prompt in the Visual Studio start menu folder.

    0 讨论(0)
  • 2020-12-14 15:46

    This is exactly what the Object Browser is for.

    • Add a reference to the DLL.
    • Right click it in the list.
    • Click View in Object Browser.
    0 讨论(0)
提交回复
热议问题