Sometimes when you try to run a game or applicationan error appears on the computer that the given DLL file was not found. The fact is that this file may be on your computer, but it is simply not registered. In this article, we'll just talk about how to register a DLL in Windows 7. We'll focus on the seventh version of Windows, but it's possible that the DLL will register on other versions. So, let's get started.

The first way to register a DLL

Before the start of registration it is worth making a remark andsay that there are only three methods, but each of them is almost similar to the rest, so we advise you to finish reading the article to the end, after which to choose which way to use. Well, now let's move on to how to register a DLL.

Initially, it should be said that all manipulations withregistration of a DLL file should be done only if the same file is located where it should be. Most often this is the system32 folder. In this example, we will represent this folder.

Now let's talk about the most commonway, how to register a DLL, at least, it is found on the Internet most often. It's pretty simple, so the user should not cause problems.

register dll

  1. You need to get into the "Run" window. It can be opened in several ways. In the "Start" menu, go to "All Programs → Accessories" and there already select "Run". 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.
  2. When the window is open, enter the command "regsvr32.exe" in the input field, then specify the path to the file to be registered.
  3. It remains only to click the "OK" button.

Please note that the path to the file must be specified completely. Starting with drive C. For example: regsvr32.exe c: windows /system32/openal32.dll.

In this case, after pressing the "OK" button there are twovariant of development of events. The first implies success, in this case you will be shown a corresponding message. Or failure, the corresponding window will fly out.

This was the first way how to register a DLL, but recall that there are only three, so we move on.

The second way to register a DLL

The second method is practically the same,only a place of action. You need to get into the command line utility, you can do it 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's up to you.

how to register dll in windows 7

Now you have the command line open, in itIt is necessary to enter absolutely the same data that was introduced in the first method. That is, initially specify the program that will work with dll (regsvr32.exe), and then the path to the file.

dll error

As you can see, the second way, how to register a DLL, practically does not differ from the first, as it 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, most likely, will be simpler for an ordinary user, so let's start to consider it.

You just need to open the .dll file with regsvr32.exe. Here's how:

  1. On the desired .dll file, click RMB.
  2. Select "Open with ..." from the menu.
  3. In the window, locate and click the "Browse" button.
  4. Path to the regsvr32.exe file, it is located in the System32 folder, which is located in the Windows folder on drive C.
  5. Click "Open".

That's all, now you know as much as three ways that you need to do when a DLL error occurs.

</ p>