用vs2013运行vc6.0的一个程序,C++程序报错:错误 1 error MSB8031: Building an MFC project for a non-Unicode character set is deprecated.
You must change the project property to Unicode or download an additional library.
See http://go.microsoft.com/fwlink/p/?LinkId=286820 for more information.
本人用的是vs2013运行代码,解决方法:
在下面页面下载Multibyte MFC Library for Visual Studio 2013
MFC MBCS DLL Add-on | Microsoft Docs
https://www.microsoft.com/en-us/download/confirmation.aspx?id=40770
然后安装vc_mbcsmfc.exe文件,安装后就可以正常运行代码了。