没有找到MSVCR80.dll (转)

//出现的现象是在debug的时候出现了"没有找到MSVCR80.dll "的对话框;但是在Release中没有报错!
在stdafx.h 文件中添加以下代码
#pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"")

在VS2005中,如果没有上面这行代码,运行会提示:没有找到 MSVCR80.dll


出处:http://blog.csdn.net/gaowenbin/archive/2008/09/07/2894283.aspx

原文地址:https://www.cnblogs.com/yanhuiw/p/1543368.html