编译时VC++崩溃
VC++ Crashes when Compiling
这可能不是放这个的合适地方,但我没有其他地方可以去。
每次我按F7,它都会崩溃。如果我更改代码,然后按F5,它就会崩溃。每次我编译任何东西时,它都会崩溃。但是,有时它会成功,因为在它崩溃后,我可以重新加载VC++,而不必重新编译。这主要只是调试时的一个极端烦恼。
我试着调试它,它导致了这个问题:
An unhandled exception of type 'System.InvalidCastException' occurred in Microsoft.VisualStudio.Shell.10.0.dll
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'.
This operation failed because the QueryInterface call on the COM component for the interface with IID '{6D5140C1-7436-11CE-8034-00AA006009FA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
我试图取消注册,然后通过cmd提示符重新注册ieproxy.dll和actxpxy.dll,但什么都不起作用。我不知道该怎么继续。
卸载Internet Explorer 10,重新安装Internet Explorer 9,然后卸载对Internet Explorer 9的更新。现在重新注册ieproxy.dll,它就可以工作了。
相关文章:
- 当回溯以零开始时,如何调试崩溃
- 内联映射初始化的动态atexit析构函数崩溃
- 执行函数时导致崩溃的变量
- 程序崩溃并显示"std::out_of_range"错误
- CoInitialize()在单独的线程上崩溃而不返回
- 使用调试/崩溃报告将应用程序部署到客户端
- 参考资源文件VC++中的$(SolutionDir)
- VC++本机单元测试,找不到调试符号
- 为什么所有C++编译器都会崩溃或挂起此代码
- 具有协变返回类型的方法在 VC++ 上崩溃
- 使用 std::bitset 时程序崩溃,但仅在使用 VC 2015 编译时崩溃
- VC 2015 U3-断言崩溃了应用程序
- 升级到VS2012,导致由于不同的VC 运行时间而导致崩溃
- 编译最简单的代码时,VC++编译器崩溃
- VC++异常处理-应用程序无论如何都会崩溃
- 为什么这段代码不能用 clang 构建,用 gcc 崩溃,但在 VC++ 上运行良好?
- VC++应用程序崩溃
- 编译时VC++崩溃
- VC++11中的std::线程类会导致随机崩溃.任何变通办法
- GetOverlappedResult()在运行时崩溃,但在vc++ 2010调试时不会崩溃