32位系统: 将文件放到c:\windows\system目录 注册 运行:Regsvr32 c:\windows\system\xxx.ocx 取消注册运行:Regsvr32.exe /u c:\windows\system\xxx.ocx 64位系统注册32位文件: 将文件放到 c:\windows\sysWOW64目录 运行:Regsvr32.exe c:\windows\sysWOW64\xxx.ocx