当前位置:网站首页>解决 error MSB8031: Building an MFC project for a non-Unicode character set is deprecated.

解决 error MSB8031: Building an MFC project for a non-Unicode character set is deprecated.

2022-07-01 00:32:00 xqlily

用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文件,安装后就可以正常运行代码了。

原网站

版权声明
本文为[xqlily]所创,转载请带上原文链接,感谢
https://blog.csdn.net/xqlily/article/details/125498503