Cybersecurity
DevOps Cloud
IT Operations Cloud
When running Regsvr32.exe to register a 32-bit dynamic-link library (DLL) on a 64-bit version of Windows, the following error message is displayed:
This behavior occurs because the Regsvr32.exe file in the System32 folder is a 64-bit version. When running Regsvr32 to register a DLL the 64-bit version is used by default.
To resolve this issue, run Regsvr32.exe from the %SystemRoot%\Syswow64 folder. For example, type the following commands to register the DLL:
cd \windows\syswow64
regsvr32 c:\filename.dll