注册activex
regsvr32 test_activex.ocx
exited with code 5. Please verify that you have sufficient rights to run this command.
说明没有权限,使用管理员权限注册即可。
exited with code 3.
可能是在ocx所在目录下找不到相应的dll文件。使用depends.exe打开ocx文件,即可知道找不到哪些dll。
卸载:
regsvr32 /u test_activex.ocx