创建 C++ 时出现无效类字符串错误使用 Vista x64 的 Visual Studio 2008 中的项目

发布于 2024-08-06 20:18:52 字数 1247 浏览 5 评论 0原文

在解决了与注册表权限相关的问题 (connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=329986) 后,现在 Visual Studio 再次出现另一个错误。

我和这个人有同样的 错误,我已经搜索过整个互联网似乎还没有人解决这个问题。

当我创建一个 C++ Windows 窗体应用程序,并且想要查看默认 Form1 的“设计视图”时,它只是给出了此错误:

Invalid Class String (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))

at Microsoft.VisualStudio.Designer.Interfaces.IVSMDCodeDomProvider.get_CodeDomProvider()
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_Provider()
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32fReload) 

如果出现这种情况,我很抱歉与编程完全无关,但如果有人有任何意见或评论,我想听听。

图片位于img12.imageshack.us/img12/8256/dibujowc.jpg

抱歉链接,系统不允许我放置超链接

After going through this Problem (connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=329986) that was related with registry permissions, now again, Visual Studio comes with another error.

I have the same error as this guy, I have searched all the internet and it seems nobody has resolved it yet.

When I create a C++ Windows Forms Application, and want to see the "Design view" of the the default Form1, it just gives me this error:

Invalid Class String (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))

at Microsoft.VisualStudio.Designer.Interfaces.IVSMDCodeDomProvider.get_CodeDomProvider()
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_Provider()
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32fReload) 

I'm sorry if this has nothing to do with programming at all, but if someone has any opinions or comments, I would like to hear it.

Image at img12.imageshack.us/img12/8256/dibujowc.jpg

Sorry for the links, the system don't allow me to put hyperlinks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

指尖上得阳光 2024-08-13 20:18:52

好吧,在我重命名 feacp.dll 以禁用智能感知后,这发生在我身上。
然而,重新启用智能感知后,一切正常。

Well this hapend to me after i renamed feacp.dll in order to disable intellisense.
However, after re-enabling intellisense, all worked ok.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文