Sometimes when you try to run a game or application on a computer, an error is issued that this DLL file was not found. The fact is that this file may be located on your computer, but it is simply not registered. In this article, we will just talk about how to register a DLL in Windows 7. We will focus on the seventh version of Windows, but it is quite possible that the DLL will register on other versions as well. So let's get started.
The first way to register a DLL
Before starting registration, it is worth making a remark and saying that there are only three ways, but each of them is almost the same as the others, so we advise you to read the article to the end, and then make a choice which way to use. Well, now let's go directly to how to register a DLL.
Initially, it is worth saying that all manipulations with registering a DLL file should be carried out only if this same file is located where it should be. Most often this is the system32 folder. In the example, we will represent this particular folder.
Now let's talk about the most common way how to register a DLL, at least it is found on the Internet most often. It is quite simple, so the user should not cause problems.
- You need to get to the Run window. It can be opened in several ways. In the "Start" menu, go along the path "All Programs β Accessories" and select "Run" there. You can also search in the same Start menu with the name of the utility. But the easiest way is to press the Win + R keys.
- When the window is open, in the input field you need to register the command "regsvr32.exe", then specify the path to the file that you want to register.
- It remains to press only the "OK" button.
Please note that the path to the file must be fully specified. Starting from drive C. For example: regsvr32.exe c: windows /system32/openal32.dll.
In this case, after clicking the "OK" button, there are two options for the development of events. The first implies success, in which case you will be shown a message. Or failure, the corresponding window will fly out.
This was the first way to register a DLL, but we remind you that there are only three of them, so we move on.
The second way to register a DLL
The second method is practically no different, just the scene. You need to get to the βCommand Lineβ utility, you can do this in several ways: either in the Start menu in the standard folder open the program of the same name, or by calling the βRunβ window, enter the command βcmdβ. It is up to you to decide.
Now the command line is open before you, in it you need to enter exactly the same data that was entered in the first method. That is, initially specify the program that will work with dll (regsvr32.exe), and then the path to the file.
As you can see, the second way, how to register a DLL, is practically no different from the first, which was mentioned at the beginning of the article. But the third one has more noticeable differences, so let's move on to it.
The third way to register a DLL
This method is likely to be simpler for the average user, so let's begin to consider it.
You just need to open the dll file with regsvr32.exe. Here's how to do it:
- On the desired DLL file, click RMB.
- From the menu, select "Open with ...".
- Find and click the "Browse" button in the window.
- Pave the path to the regsvr32.exe file, it is located in the System32 folder, which is located in the Windows folder on drive C.
- Click "Open."
That's all, now you know as many as three ways what to do when a DLL error occurs.