Run supervisor. exewith the administrator ID. Right-click cmd.exe and choose run as administrator.
At present, there are two files with network disks to be registered, one DLL and one OCX.
At the beginning, both files are copied to the c: \ windows \ system32 \ directory registration, but only the DLL file registration is successful. The following error occurs when the regsvr32 ocx file is registered.
Failed to load module "% 1. \ N Ensure that the binary is stored in the specified path, or debug it to check the binary or related
Whether the. dll file is faulty. \ N % 2.
After searching, A syswow64 directory is added to 64-bit win7. Copying OCX to this directory shows that the registration is successful, but it is strange that it is still unavailable. Copy the DLL to the c: \ windows \ system32 directory, copy OCX to the C: \ WINDOWS \ syswow64 directory, and then return to the network directory, register these two files in that directory.
Appendix
Syswow64 folder
Http://kb.cnblogs.com/a/1662767/
Wow64 (Windows-on-Windows 64-bit) is a subsystem of the Windows operating system that can run 32-bit applications, and exists in all 64-bit versions of Windows-including
Windows
2000 limited edition
Windows
XP Professional x64 Edition, and IA-64
64-bit windows
Servers 2003
64-bit windows
Vista
64-bit windows
Servers 2008
64-bit windows
7
On Windows Server 2008 R2, this is an optional component. wow64 is designed to handle many differences between 32-bit windows and 64-bit windows, especially the differences in the structure changes of windows.
Conversion Library
============
Wow64 sub-system is a lightweight compatibility layer, which has the same interface in all versions of Windows. it is mainly used to create a 32-bit environment, so that 32-bit applications can run on 64-bit systems without any modification, it provides required interfaces.
Technically, wow64 is implemented by three DLL.
Wow64.dll
Is the core interface of Windows NT kernel. It is converted between 32-bit and 64-bit calls, including pointer and call stack control.
Wow64win. dll
Provides a proper entry pointer for 32-bit applications.
Wow64cpu. dll
Converts the processor between 32-bit and 64-bit modes.
Registry and File System
============
The Wow subsystem also handles other key aspects of running 64-bit applications. For example, when managing the interaction between a 32-bit application and the Windows registry,Interfaces are provided to the storage subsystem (32-bit registry is not the same as 64-bit registry .)
The operating system uses the % SystemRoot % \ system32 directory to store 64-bit library files and executable files. this is intended for backward compatibility, because many applications in the old system use the hardcoded method to obtain this path. when a 32-bit application is executed, wow64 redirects the DLL request from system32 to % SystemRoot % \ syswow64. In the syswow64 directory,
Contains the library and executable files of the old system.