首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

the application was unable to start correctly (0xc0150002),该怎么解决

2012-09-09 
the application was unable to start correctly (0xc0150002)用VS2005调试程序,能编译过,但是调试启动程

the application was unable to start correctly (0xc0150002)
用VS2005调试程序,能编译过,但是调试启动程序的时候出现
the application was unable to start correctly (0xc0150002)

看了下event viewer
Activation context generation failed for "xx\xx.dll". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found. Please use sxstrace.exe for detailed diagnosis.

程序的manifest文件信息
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50727.4053" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>


这种情况该怎么解决?

[解决办法]
这问题貌似是版本错乱造成的。

举个例子:你的VC RunTime库是一个用的是VS2010的,一部分库用的是VS2005的
就会出现这个问题。

全部卸完,重装一个版本应该能解决你的问题

热点排行