如果编译Debug版本,放到未安装VS2013的电脑上,直接运行exe,会提示“The Program can't start because mfc120ud.dll is missing from your computer,Try reinstalling the program to fix this problem”。
这个时候可以拷贝C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\Debug_NonRedist下的Microsoft.VC120.DebugCRT和Microsoft.VC120.DebugMFC的所有文件到debug的目录下。