如何注册ocx文件

32位系统:
将文件放到c:windowssystem目录
注册 运行:Regsvr32 c:windowssystemxxx.ocx
取消注册运行:Regsvr32.exe /u c:windowssystemxxx.ocx

64位系统注册32位文件:
将文件放到 c:windowssysWOW64目录
运行:Regsvr32.exe c:windowssysWOW64xxx.ocx

或者

原文地址:https://www.cnblogs.com/Peter-Youny/p/3793972.html