2016-08-28



The Dynamic Link Library, or DLL file, is a mainstay of traditional Windows programming. These files are used by programs to gain additional functionality and libraries without having to have them built-in to the program itself. Oftentimes, DLL files are shared across many different programs. For most users, DLLs work in the background, and you should rarely have to deal with them. Occasionally, however, you may need to register a DLL in order for a program you've installed to work properly. If you're interested in coding, exploring how DLLs are constructed can also be very illuminating.

1

Understand what a DLL file is. A DLL (dynamic link library) is a Windows file that is used by program to call upon existing functions. Essentially, they allow Windows and other programs to gain functionality without having to have that functionality built-in.

DLL files are an essential part of Windows programming, and lead to sleeker, more efficient programs.



2

Know that the average user doesn't need to open or interact with DLL files. For most users, DLL files will exist in the background. Programs will install and call upon them automatically, and moving them can cause serious problems with the system.

Sometimes you may be asked during the installation of community-made programs to place DLL files in specific locations. Make sure that you trust the program before following these instructions, as DLL files can be malicious.

If you're interested in learning how DLL files are constructed, see the next section.



3

Register a new DLL. If you have had to manually copy a DLL file into a folder for a program to use, you may need to register it in the Windows Registry before it can be used. Refer to the program's documentation to determine if you'll need to perform this step (it is extremely uncommon for most Windows programs).[1]

Open the Command Prompt. You can find this in the Start menu or by pressing the Windows key + R and typing cmd. Navigate to the location of the new DLL file.

If you are using Windows 7 or newer, open the folder containing the new DLL file, hold the Shift key and right-click in the folder, and select "Open command window here". The Command Prompt will open directly to that folder.

Type regsvr32 dllname.dll and press Enter. This will add the DLL file to Windows Registry.

Type regsvr32 -u dllname.dll to remove the DLL file from the Windows Registry.

Decompiling DLL Files

1

Download and install a decompiler. A "decompiler" is a program that allows you to see the source code that was used to construct a file or program, in this case a DLL file. In order to see the code that makes a DLL file work, you will need to use a decompiler to revert it back into readable code. Opening a DLL file without a decompiler (such as opening it with Notepad) will result in a jumbled mess of unreadable characters.

dotPeek is one of the more popular free decompilers. It is available fromjetbrains.com/decompiler/.

2- Open the DLL file in your decompiler. If you're using dotPeek, simply click "File" → "Open" and then browse for the DLL file you want to decompile. You can explore the contents of the DLL file without affecting your system.[2]

3- Use the "Assembly Explorer" to browse the nodes of the DLL file. DLL files are made of "nodes", or modules of code that work together to form the entire DLL file. You can expand each node to see any subnodes that it may
contain.

4- Double-click a node to see the code for it. The code for the node you select will appear in the right frame of dotPeek. You can scroll through the code to review it. dotPeek will display the code in C#, or it can download additional libraries in order for you to view the original source code.

If the node requires additional libraries to view, dotPeek will attempt to download them automatically.

5- Get clarification for different pieces of the code. If you've found a piece of code you don't understand, you can use the Quick Documentation feature to see what the command is doing.

Place your cursor in the piece of code that you need documentation for in the Code Viewer frame.

Press Ctrl + Q to load the Quick Documentation window.

Follow the hyperlinks to learn more about each aspect of the code you are examining.

6- Export the code to Visual Basic. If you want to manipulate, edit, and build the file on your own, you can export it into Visual Studio. The exported code will be in C#, even if it was originally written in a different language originally.

Right-click on the DLL file in the Assembly Explorer.

Select "Export to Project"

Choose your export options. You can have the project opened immediately in Visual Studio if you'd like to get started on it immediately.

7

Edit the code in Visual Studio. Once you have the project loaded in Visual Studio, you will have complete control over editing and building the DLL into your own creation

Download dll file opener for windows
(43 programs)

License:

All

Platform:

Windows

OS:

All

Softonic ADS | SPONSORED
Sysax FTP Automation

Automate and Synchronize FTP, SFTP, and FTPS file transfers

TRIAL VERSION

English

Download

Open Freely 1.0.0.0

FREE

English

Windows

Multi-format, free file viewer ... as supported files, Open Freely will open a huge variety ..., XPS, PDF, RTF, ODT, WPD, XML, RESX,Files: EXE, DLL, BPL, SCR, CPL, OCX, 7z, ZIP, RAR, ...

5

136 votes

1M downloads

PROS: Supports a wide range of common formats, Supports Windows, media and code files, Contains hex editor, Displays info on every file

CONS: Few advanced tools

Process Explorer 15.23

FREE

English

Windows

Find active processes and DLLs in your system ... selected in the top window has opened; if Process Explorer is in DLL mode you’ll see the DLLs and memory-mapped files that the process has loaded ...

8

22 votes

130K downloads

PROS: Runs quickly , Option to refresh, Option to change opacity

CONS: Help file does not open

Softonic ADS | SPONSORED
Sysax Multi Server

Easy to use Secure FTP server that supports SFTP, FTPS, HTTPS, FTP and Secure Shell access

TRIAL VERSION

English

Download

ResourcesExtract 1.17

FREE

English

Windows

Extract icons and animations stored in EXE, DLL, OCX, CPL files... you to extract, from an exe or dll file, all the pictures and videos contained in it ... will open a folder with all the filesextracted, ready for ...

5

6 votes

18K downloads

PROS: Extracts media files in seconds

CONS: No preview of the images contained in a program

UltraExplorer 1.4.4

FREE

English

Windows

Powerful tabbed file manager ... Drop blocks of files into the ...Open several folders simultaneously and have them on separate tabs Task Window The Task window accepts plug inDLLs ...

7

9 votes

13K downloads

Softonic ADS | SPONSORED
DMDE - DM Disk Editor and Data Recovery 2.6.0.522

Disk Editor, Data Recovery for FAT, NTFS.

FREE

English

Download

<div class="media__body" style="box-sizing: inherit; display: tab

Show more