Results 1 to 3 of 3
  1. #1
    Ron Guest

    Default Error Code: 0x80004005 on regestring DLL file on W7 64 bit?

    Hi,
    I getting 0x80004005 error on registering a dll file on W7 64 bit.
    I tried from Start > Run and also from Start > CMD > and typing regsvr32 DllFileName.dll but same error.
    Even tried cd c:\windows\system32 and then running regsvr32.exe DllFileName.dll
    no luck...

    Please suggest...
    Thanks.

  2. #2
    WeeLi Guest

    Default


    This is due to fact that Regsvr32.exe file in the System32 folder is a 64-bit version. Whenever you run Regsvr32 to register a DLL, you are using the 64-bit version by default.

    This issue can be resolved by running Regsvr32.exe from the %SystemRoot%\SysWOW64 folder.
    For example, type the following commands to register your DLL:

    Step 1 - Open cmd propmot as ADMIN.

    Step 2 - Type cd \Windows\SysWOW64

    Step 3 - Type regsvr32 DLLFileName.dll


    You should see Succeeded message now.


    Attached Images Attached Images  
    Last edited by WeeLi; March 10th, 2014 at 11:22 AM.

  3. #3
    HP_HP Guest

    Default


    If DLL is 32 bit:- Copy the DLL to C:\Windows\SysWoW64\
    In an elevated command prompt: %windir%\SysWoW64\regsvr32.exe %windir%\SysWoW64\DLLFileName.dll


    if DLL is 64 bit:- Copy the DLL to C:\Windows\System32\
    In an elevated command prompt: %windir%\System32\regsvr32.exe %windir%\System32\DLLFileName.dll

    Ref: http://support.microsoft.com/kb/249873, says that 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.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •