R6034-VC2008编译出来的文件执行时错误
同时引用了msvcrt90.dll 和msvcrt90d.dll
check the following url for more details
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=362837
解决:把下面的代码加到工程的cpp文件里。
#ifdef _DEBUG
#pragma comment(linker,"/manifestdependency:\"type='win32' " \
"name='" __LIBRARIES_ASSEMBLY_NAME_PREFIX ".CRT' " \
"version='" _CRT_ASSEMBLY_VERSION "' " \
"processorArchitecture='x86' " \
"publicKeyToken='" _VC_ASSEMBLY_PUBLICKEYTOKEN "'\"")
#endif