Breaking News

Tuesday, May 17, 2022

How to Register a DLL file

Option 1.

If you need to register a DLL due to some sort of corruption or installation failure, you can do it manually by following the method outlined below.

Step 1: First click on Start, then Run(Open command promot)

 

Step 2: Now all you have to do to register a DLL file is to type in the regsvr32 command, followed by the path of the DLL file.

 regsvr32 “C:\Windows\System32\yourfile.dll”

Step 3: After Enter and you should get a confirmation message that the DLL has been registered successfully.

 

Option 2.

Open your command promot and use this code as given below

Windows XP---32-bit

  1. Closing all the related your softwares and servers.
  2. Copying all yourdllfile.dll files to C:\WINDOWS\system32
  3. Opening cmd.exe and inputting regsvr32.exe %windir%\system32\yourdllfilename.dll

Windows XP---64-bit

  1. Closing all the related your softwares and servers.
  2. Copying all yourdllfile.dll files to C:\WINDOWS\sysWOW64
  3. Opening cmd.exe and inputting %windir%\syswow64\regsvr32.exe %windir%\syswow64\yourdllfilename.dll

Windows 7/Windows 8 /Server 2008---32-bit

  1. Closing all the related your softwares and servers.
  2. Copying all yourdllfile.dll files to C:\WINDOWS\system32
  3. Running cmd.exe as Administratorand inputting regsvr32.exe %windir%\system32\yourdllfilename.dll then Enter

Windows 7/Windows 8/ Server 2008---64-bit 

  1. Closing all the related your softwares and servers.
  2. Copying all yourdllfile.dll files to C:\WINDOWS\sysWOW64
  3. Running cmd.exe as Administrator and inputting %windir%\syswow64\regsvr32.exe %windir%\syswow64\yourdllfilename.dll then Enter


Option 3.

 32 bit:

Copy the DLL to C:\Windows\SysWoW64\

In an elevated command prompt: %windir%\SysWoW64\regsvr32.exe %windir%\SysWoW64\yourdll.dll

64 bit:

Copy the DLL to C:\Windows\System32\

In an elevated command prompt: %windir%\System32\regsvr32.exe %windir%\System32\yourdll.dll

http://support.microsoft.com/kb/249873

Quote: "Note On a 64-bit version of a Windows operating system, there are two versions of the Regsv32.exe file:

The 64-bit version is %systemroot%\System32\regsvr32.exe.

The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe.


Option 4.

Type regsvr32 yourdllfilename.dll into the Command Prompt (executed in elevated mode!) and press "Enter." Note that yourfilename.dll should be replaced with the name of the DLL that you want to register. For example, if you want to register the yourfilename.dll, type regsvr32 yourfilename.dll.


Option 5.

To register a comm .dll or .ocx on Windows 7 32-bit, do the following:

  1. Copy .dll or .ocx to c:\windows\system32
  2. Type cmd in Run menu, it will search cmd.exe, right click and click Run as Administrator
  3. It will show a prompt at c:\windows\system32
  4. Type regsvr32 ocxname.ocx to register .ocx

or

type regsvr32 dllname.dll to register .dll


No comments:

Post a Comment

Designed & Published By... TRICKS TO SOLVED