读书人

the application was unable to start

发布时间: 2012-09-09 09:27:54 作者: rapoo

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的
就会出现这个问题。

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

读书人网 >VC/MFC

热点推荐