• QQ
  • nahooten@sina.com
  • 常州市九洲新世界花苑15-2

技术天地

VS2008——R6034错误

原创内容,转载请注明原文网址:http://homeqin.cn/a/wenzhangboke/jishutiandi/2019/0709/568.html

 
这是我转的一篇十分全的帖子 
 
能查到的处理办法都在里面有提及: 
 
我是运用 stdafx.h参加这句
 
code #pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"") 处理的 
 
vs2008的话改成VC90.CRT 
 
version='8.0.50608.0' 改成你的vs的版本. 
 
以下是转载的全文    
 
一个项目从vc6迁移到VS2005,在修正了一系列的类型正告后。编译胜利了,Debug的时分,结果却冒出一个R6034错误:"An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information."
 
      Output Window:app.exe 中的 0x7c984ed1 处最可能的异常: 0xC0000142: DLL Initialization Failed。
 
      编译条件是:Linker->Manifest File ->Allow Isolation:Yes。
 
    在同样的编译条件下,Release则能够正常编译运转。采取处理措施:在stdafx.h文件中参加:#pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='X86' publicKeyToken='1fc
 

上篇:上一篇:MFC对话框list control 初始化办法
下篇:下一篇:vs2010下release版本调试设置