Cannot register OCX using Regsvr32
Posted on 2012-03-14
In a command prompt I am running this line:
C:\Windows\System32> regsvr32 C:\Windows\System32\ImageViewer2.OCX
I get the following error:
The Module "C:\Windows\System32\ImageViewer2.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 .DLL files.
The Specified module could not be found.
This is a new 64 bit, Win7 laptop. The OCX file has been transferred from a 64 bit Win 7 system it succesfully installed on. I am logged in as Administrator and running cmd as Administrator. I have a VFP app that relies on this OCX to run.