解决 RtlCreateActivationContext() failed 0xc000000d

gtest 示例的Debug版启动报错:

Debug输出如下:

'sample1_unittest.exe': Loaded 'D:\LibSrc\gtest_1.7.0_build\Debug\sample1_unittest.exe', Symbols loaded.
'sample1_unittest.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
'sample1_unittest.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
'sample1_unittest.exe': Loaded 'D:\LibSrc\gtest_1.7.0_build\Debug\gtest_main.dll', Symbols loaded.
SXS: RtlCreateActivationContext() failed 0xc000000d
LDR: LdrpWalkImportDescriptor() failed to probe D:\LibSrc\gtest_1.7.0_build\Debug\gtest_main.dll for its manifest, ntstatus 0xc000000d
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3824] sample1_unittest.exe: Native' has exited with code -1073741811 (0xc000000d).

Rebuild无效,重装VC无效。

将Manifest输出改为No就好了。

估计是VC2010的错误。奇怪的是再次改回Yes后重建仍然是好的,同样的vcxproj输出不一样?

应该与系统也有关,可能重装系统就会好。其他机器没有该错误。


方法来自:http://blog.chenfeisoft.com/post/2013/06/10/SXS-RtlCreateActivationContext%28%29-failed-0xc000000d.aspx

SXS: RtlCreateActivationContext() failed 0xc000000d

by Administrator 10. 六月 2013 22:10

dll工程配置里将输出清单文件选为no, rebuild, 再改回yes



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值