Registering ActiveX controls in Win7 64-bit

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.