64位OS下如何注册MSCOMM32.OCX

来源:互联网 发布:网易云信sdk php 编辑:程序博客网 时间:2024/05/16 07:33
 

如果在64位OS下直接运行“regsvr32 c:\windows\system32\MSCOMM32.OCX”,会报如下错误信息

 

The module "C:\Windows\System32\MSCOMM32.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.

 

正确注册方法:

先将MSCOMM32.OCX组件复制到c:\windows\SysWOW64下面,再运行“regsvr32 c:\windows\SysWOW64\MSCOMM32.OCX”注册