39

Windows 10下注册32位OCX控件的方法

 4 years ago
source link: https://www.williamlong.info/archives/5874.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Windows 10下注册32位OCX控件的方法

2019-10-31 23:45:16 | 作者: 月光 | 分类: 编程开发 | 评论: 0 | 浏览: 1394

  对于早期的32位Windows操作系统,我们可以直接注册OCX或DLL控件,但是在64位系统下是不可行的,而对于支持UAC(例如Windows 10等)的系统,就必须要复制到指定的目录,并使用管理员权限才能成功注册。

  对于64位Windows 10操作系统,具体方法是:

  1. 把ocx文件复制到系统“C:\Windows\SysWOW64”文件夹下;

  2. 以管理员身份运行CMD或者PowerShell(开始菜单点右键-Windows PowerShell(管理员));

  3. 执行 regsvr32 ocx文件名,即可注册成功。

  对于32位Windows 10操作系统,具体方法是:

  1. 把ocx文件复制到系统“C:\Windows\System32”文件夹下;

  2. 以管理员身份运行CMD或者PowerShell(开始菜单点右键-Windows PowerShell(管理员));

  3. 执行 regsvr32 ocx文件名,即可注册成功。

Windows 10下注册32位OCX控件的方法

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK