PDF download Download Article PDF download Download Article

Dynamic Link Library (DLL) files contain code and objects for Windows programs reference when they need to complete tasks. Unlike programs, DLLs aren't the types of files you can run or browse without special software, nor can you open a DLL in text editor to see its code. If you want to explore the contents of a DLL file, you can try one of these handy free tools to evaluate, decompile, edit, and extract media from DLL files. Just be sure not to modify a DLL that's in use by a program, or you could cause that program to crash.

1

Resource Hacker

PDF download Download Article
  1. If your goal is to grab certain content from a DLL file, including sounds and videos, Resource Hacker makes it easy. It has a graphical interface that's straightforward, and even lets you edit DLL content with both plain text and binary editors.
  2. Advertisement
2

Resource Tuner 2

PDF download Download Article
  1. This tool is very similar to Resource Hacker, but with some added features—including the ability to extract several additional file types, including PNGs. The drawback is that Resource Tuner 2 is only free for 30 days—after that, you'll need to pay to keep using it.
3

Dependencies

PDF download Download Article
  1. Based on the once-popular tool Dependency Walker, which used to be included with Microsoft's Visual Studio, Dependencies scans a DLL file and displays a hierarchical tree of all dependencies and required files. [1] This program doesn't decompile the DLL file or allow you to make edits, but it's great for troubleshooting DLL errors.
  2. Advertisement
  1. This .NET decompiler—which is also available for Linux and macOS in addition to Windows—is open source and actively maintained. [2] You can use it to browse the contents of a DLL, decompile it to Visual Basic, and save the code as a C# project.
5

dotPeek Decompiler

PDF download Download Article
  1. If your goal is to turn a .NET DLL into equivalent C# or IL code, dotPeek is a full-featured decompiler with a simple interface. This decompiler also allows you to save the code as a .csproj file, which you can then open, modify, and recompile in Visual Studio. [3]
  2. Advertisement
6

HxD Hex Editor

PDF download Download Article
  1. DLLs are compiled code that can't be edited with a traditional text editor. If you don't want to decompile the DLL and edit the linked source code files directly, you can use a hex code editor to edit the contents of the binary. While there are a variety of hex code editors available, HxD also has the ability to compare the hex code of two different files.
    • You can download HxD Hex Editor from https://www.portablefreeware.com/?id=1454 .
    • Keep in mind that hex code is literally just 1s and 0s—you won't be editing any programming code with an editor like HxD.
  1. Dumpbin is a part of Visual Studio (including the free Community versions) that displays information about DLL files. [4] You'll need to run dumpbin from the Visual Studio command prompt, not the Windows command prompt. To check a DLL file with dumpbin, use the syntax dumpbin [options] filename.dll . Some helpful options:
  2. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Thanks to all authors for creating a page that has been read 38,003 times.

      Is this article up to date?

      Advertisement