You must first run Cmd.exe as an administrator, that is, Cmd.exe right-click to run as Administrator.
There are currently two files that exist on the network disk need to register, a DLL, an OCX.
At the beginning of the two files are copied to the C:\windows\system32\ directory registration, but only the DLL file registration is successful, regsvr32 the OCX file with the following error
Module '%1 ' failed to load. \ n \ nthe make sure that the binary is stored in the specified path, or debug it to check for that binary or related. DLL file is not a problem. \n\n%2.
Search, the original on the 64-bit Win7 on a syswow64 directory, the OCX copy to this directory to show that the registration is successful, but it is strange still unusable. So the DLL copied to the C:\Windows\System32 directory, the OCX copied to the C:\windows\syswow64 directory, and then back to the network directory, in that directory to register the two files are successful
Registering ActiveX controls in Win7 64-bit