附加到运行IE。 pShellWindows.CreateInstance(__ uuidof(SHDocVw :: ShellWindows));错误类未注册 [英] Attach to running IE. pShellWindows.CreateInstance(__uuidof(SHDocVw::ShellWindows)); Error Class not registered

查看:339
本文介绍了附加到运行IE。 pShellWindows.CreateInstance(__ uuidof(SHDocVw :: ShellWindows));错误类未注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图附加到运行IE使用
pShellWindows.CreateInstance(__ uuidof(SHDocVw :: ShellWindows));
此操作失败,错误类未注册。

操作系统是Windows Server 2003 SP2。在其他具有相同
操作系统的计算机上代码可以正常工作。

I am trying to attach to running IE using the pShellWindows.CreateInstance(__uuidof(SHDocVw::ShellWindows)); This fails with Error Class not registered.
The OS is Windows Server 2003 SP2. On other computers with the same OS the code works fine.

推荐答案


我从来没有登录过用户我是交互地运行到这台计算机,所以IE没有机会
设置shell集成。我登录后,一旦问题消失了

I got it. I never logged on with the user I was running into this computer interactively so IE had no chance to set up shell integration. After I logged on once the problem went away

这篇关于附加到运行IE。 pShellWindows.CreateInstance(__ uuidof(SHDocVw :: ShellWindows));错误类未注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆