Windows 10: unable to register the dll/ocx regsvr32 failed with exit code 0x5

Discus and support unable to register the dll/ocx regsvr32 failed with exit code 0x5 in Windows 10 Installation and Upgrade to solve the problem; Every time I install the application, a pop up always appears "unable to register the dll/ocx regsvr32 failed with exit code 0x5",Why is this?... Discussion in 'Windows 10 Installation and Upgrade' started by Rui005, Oct 18, 2023.

  1. Rui005 Win User

    unable to register the dll/ocx regsvr32 failed with exit code 0x5


    Every time I install the application, a pop up always appears "unable to register the dll/ocx regsvr32 failed with exit code 0x5",Why is this?

    :)
     
    Rui005, Oct 18, 2023
    #1
  2. BobbyS. Win User

    C:\WINDOWS\SysWOW64\SoundGridAsio.dll unable to register DLL/OCX: RegSvr32 failed with exit code 0x3

    This message occurred when I was in the process of updating, registering and installing Waves Soundgrid plugins, Dll's and other files using the Waves Central app. Upon proceeding with the updates, I received the error message during updates: "C:\WINDOWS\SysWOW64\SoundGridAsio.dll

    unable to register DLL/OCX: RegSvr32 failed with exit code 0x3". Everything I try to do to remedy this ends with the following error message: "Runtime Error {at 47:31}: Could not call proc." Now, I cannot open my related Waves apps because of this one issue.

    I saw in some circumstances, where one might go into RegSvr32 and change any conflict with SysWOW64 and RegSvr32, by adding the file map/location and the dll. But I wouldn't know how to enter it to where I need to. Waves support has no suggestion about Windows. Just to go in, uninstall and delete everything and start over. I can't do that. I run Windows 10; 64 bit system. Please help.
     
    BobbyS., Oct 18, 2023
    #2
  3. manually registering OCX and DLL on Windows11

    Hello,James Peterson2

    Welcome to Microsoft Community.

    To manually register OCX and DLL files on Windows, you can use the command-line tool. Here are the steps:regsvr32



    Open the Command Prompt with administrative privileges. To do this, press the Windows key, type "cmd," right-click on "Command Prompt," and select "Run as administrator."



    Navigate to the directory where the OCX or DLL file is located. Use the command to change directories. For example, if the file is in the "C:\MyFiles" directory, type: cd C:\MyFiles



    Once you are in the correct directory, use the command to register the file. The syntax is as follows:

    regsvr32 <filename>

    Replace with the name of the OCX or DLL file you want to register. For example:regsvr32 myocx.ocx

    Press Enter to execute the command. You should see a dialog box confirming that the registration was successful. Below are some situations that you may encounter:


    unable to register the dll/ocx regsvr32 failed with exit code 0x5 ArZsWwFqq6RhZeks4IddZw56EElIu5HF%2frkRIt2kYen1Hjr4EZul8A%2fLcD8mYKejYcQ8eEBHDgjlKGWQ9iQ5nbhIc%3d.png


    The error can be because you are trying to register a 32-bit DLL or OCX file through 64-bit Regsvr32. You need to use the 32-bit Regsvr32 that is located in the Syswow64 folder. You can type the following command to register 32-bit DLL or OCX in a 64-bit operating system.

    %SystemRoot%\SysWOW64\regsvr32 <filename>

    If there are any dependencies (other DLLs or OCXs) required by the file you're registering, make sure they are present in the same directory or already registered.

    Here is two articles that may tell you more about registering OCX and DLL on Windows

    1-<Register OCX and DLL files as system globals - Windows Client | Microsoft Learn>

    2-<
    Regsvr32 | Microsoft Learn>

    Hope it helps! If any update, welcome to share with us.

    Best regards,



    Chandy |Microsoft Community Support Specialist
     
    Chandy - MSFT, Oct 18, 2023
    #3
  4. unable to register the dll/ocx regsvr32 failed with exit code 0x5

    Unable to register DLLs and OCXs in Windows Enterprise 1909 build

    Hi all,

    I have installed Windows 10 Enterprise version with latest 1909 build, from then the DLLs and OCXs of my application are not registering. I'm facing the issue
    "The module xxxx.dll may not be compatible with the version of Windows that you are running.Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe". My DLLs and OCXs are of 32-bit.

    I tried registering from command prompt with elevated permissions in the following ways but all of them prompted me the same issue.

    regsvr32 xxxx.dll

    %systemroot%\SysWoW64\regsvr32.exe xxxx.dll

    %systemroot%\System32\regsvr32.exe xxxx.dll

    Please let me know if there is any solution to resolve the issue. Thanks in advance.
     
    PINNINTI Revanth, Oct 18, 2023
    #4
Thema:

unable to register the dll/ocx regsvr32 failed with exit code 0x5

Loading...
  1. unable to register the dll/ocx regsvr32 failed with exit code 0x5 - Similar Threads - unable register dll

  2. unable to register the dll/ocx regsvr32 failed with exit code 0x5

    in Windows 10 Software and Apps
    unable to register the dll/ocx regsvr32 failed with exit code 0x5: Every time I install the application, a pop up always appears "unable to register the dll/ocx regsvr32 failed with exit code 0x5",Why is this?...
  3. unable to register the dll/ocx regsvr32 failed with exit code 0x5

    in Windows 10 Gaming
    unable to register the dll/ocx regsvr32 failed with exit code 0x5: Every time I install the application, a pop up always appears "unable to register the dll/ocx regsvr32 failed with exit code 0x5",Why is this?...
  4. C:\WINDOWS\SysWOW64\SoundGridAsio.dll unable to register DLL/OCX: RegSvr32 failed with...

    in Windows 10 Gaming
    C:\WINDOWS\SysWOW64\SoundGridAsio.dll unable to register DLL/OCX: RegSvr32 failed with...: This message occurred when I was in the process of updating, registering and installing Waves Soundgrid plugins, Dll's and other files using the Waves Central app. Upon proceeding with the updates, I received the error message during updates:...
  5. C:\WINDOWS\SysWOW64\SoundGridAsio.dll unable to register DLL/OCX: RegSvr32 failed with...

    in Windows 10 Software and Apps
    C:\WINDOWS\SysWOW64\SoundGridAsio.dll unable to register DLL/OCX: RegSvr32 failed with...: This message occurred when I was in the process of updating, registering and installing Waves Soundgrid plugins, Dll's and other files using the Waves Central app. Upon proceeding with the updates, I received the error message during updates:...
  6. C:\WINDOWS\SysWOW64\SoundGridAsio.dll unable to register DLL/OCX: RegSvr32 failed with...

    in Windows 10 Drivers and Hardware
    C:\WINDOWS\SysWOW64\SoundGridAsio.dll unable to register DLL/OCX: RegSvr32 failed with...: This message occurred when I was in the process of updating, registering and installing Waves Soundgrid plugins, Dll's and other files using the Waves Central app. Upon proceeding with the updates, I received the error message during updates:...
  7. Registering an OCX file fails

    in Windows 10 Customization
    Registering an OCX file fails: I have been trying to register on OCX file on a Windows 10 64 bit system. I keep getting the following error message The module mshflxgd.ocx failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent...
  8. Regsvr32 fails to register a file

    in Windows 10 Drivers and Hardware
    Regsvr32 fails to register a file: In windows 10 32 bit when I try to register vbrun300.dll I get a message; it may not be compatible with the computer I am using Windows 10 32 bit and to check if it is compatible with x86 or x64 regsvr32.exe. Is there a fix or work around Chuck...
  9. using regsvr32 to register ocx file

    in Windows 10 Customization
    using regsvr32 to register ocx file: using regsvr32 to register Msflxgrd.ocx I get error 08002801c how do I resolve this? https://answers.microsoft.com/en-us/windows/forum/all/using-regsvr32-to-register-ocx-file/9b1fa2bb-ca51-4c34-89a2-670eb9e48548
  10. Register and Unregister Context Menu for DLL and OCX Files

    in Windows 10 Support
    Register and Unregister Context Menu for DLL and OCX Files: This works but is not run with the admin flag thus it dose not work in 10.... Register and Unregister Context Menu for DLL and OCX Files Can someone update this so it works in win10? 63680