添加Windows公共控件6.0时未注册对象库 [英] Object Library Not Registered When Adding Windows Common Controls 6.0
问题描述
我正在尝试在Windows 7 32位计算机上安装Visual Studio 6.
I am trying to install Visual Studio 6 on a Windows 7 32bit machine.
操作系统的全部来自裸机.
The OS intall was from bare metal.
我按照此处(我以前使用过)中提到的说明进行操作
I followed the instructions mentioned here (which I have used before)
安装正常,没有错误报告,但是当我尝试将Microsoft Windows Common Controls 6.0
添加到工具箱时,出现未注册对象库"错误.
The install went fine with no errors reported but when I try to add the Microsoft Windows Common Controls 6.0
to the toolbox I get the "Object Library Not Registered" Error.
我尝试对OCX进行手动卸载和重新安装,但均成功,但是仍然存在相同的错误.
I tried doing a manual uninstall and reinstall of the OCX which both succeeded but I still have the same error.
我尝试安装SP6,但没有错误安装(并将OCX更新为较新的版本),但是我仍然遇到相同的问题.
I tried installing SP6 and that installed without error (and updated the OCX to a newer version) but I still have the same problem.
如下面进一步研究所述,IE10更新似乎破坏了MSCOMCTL.ocx.但是,我也认为这与命令有关,因为我有一台运行IE10的Windows 7机器运行正常.
As mentioned below on further investigation it seems that the IE10 update breaks the MSCOMCTL.ocx. However I also think this is something to do with the order because I have another Windows 7 machine with IE10 that works fine.
推荐答案
在32位计算机上:
cd C:\Windows\System32
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb
或在64位计算机上:
cd C:\Windows\SysWOW64
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb
这些需要以管理员身份运行.
这篇关于添加Windows公共控件6.0时未注册对象库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!