Search code examples
winapidllcomregsvr32

RegSvr32.exe fails to launch


I'm trying to register a 64-bit, COM-based DLL into the registry through the 64-bit regsvr32.exe. However, after clicking on "Run as Administrator", regsvr32.exe shows the following message box:

Error message

The message box disappears after clicking OK or Close, and nothing else happens.

What could have been possibly gone wrong?


Solution

  • You need to open up a command prompt in administrator mode and write

    C:\>regsvr32 {path to where .dll is}