Building an MFC project for a non-Unicode character set is deprecated VS2015(不是vs2013!!!)

Multibyte MFC Library for Visual Studio 2015,没有这个,只有vs2013需要安装下载这个插件,vs2015是在安装包里面进行勾选安装的!!

VS2015要这样设置!!!
Building an MFC project for a non-Unicode character set is deprecated VS2015(不是vs2013!!!)

VS2013直接安装下面的补丁即可!!下载链接为:
链接:https://pan.baidu.com/s/1rDl6SPgZGSxfVgHGAwCzTQ
提取码:wfoy

--------------------------以下为官方说法:
https://docs.microsoft.com/en-us/cpp/mfc/mfc-mbcs-dll-add-on?view=msvc-160
Visual Studio 2013: By default, the MFC libraries installed in Visual Studio 2013 only support Unicode development. You need the MBCS DLLs in order to build an MFC project in Visual Studio 2013 that has the Character Set property set to Use Multi-Byte Character Set or Not Set. Download the DLL at Multibyte MFC Library for Visual Studio 2013.

Visual Studio 2015: Both Unicode and MBCS MFC DLLs are included in the Visual C++ setup components, but support for MFC is not installed by default. Visual C++ and MFC are optional install configurations in Visual Studio setup. To make sure that MFC is installed, choose Custom in setup, and under Programming Languages, make sure that Visual C++ and Microsoft Foundation Classes for C++ are selected. If you have already installed Visual Studio, you will be prompted to install Visual C++ and/or MFC when you attempt to create an MFC project.

Visual Studio 2017 and later: The Unicode and MBCS MFC DLLs are installed with the Desktop development with C++ workload when you select MFC and ATL support from the Optional Components pane in the Visual Studio Installer program. If your installation does not include these components, navigate to the File | New Projects dialog and click the Open Visual Studio Installer link. For more information, see Install Visual Studio.
Building an MFC project for a non-Unicode character set is deprecated VS2015(不是vs2013!!!)
Visual Studio 2013:默认情况下,Visual Studio 2013中安装的MFC库只支持Unicode开发。您需要MBCS dll,以便在Visual Studio 2013中构建一个MFC项目,该项目具有设置字符集属性来使用多字节字符集或不设置字符集。在Visual Studio 2013的Multibyte MFC库中下载DLL。

Visual Studio 2015: Unicode和mbc MFC dll都包含在Visual c++安装组件中,但默认情况下不安装MFC支持。Visual c++和MFC是Visual Studio setup中可选的安装配置。要确保MFC已安装,请在安装程序中选择“自定义”,并在“编程语言”下,确保选择了Visual c++和Microsoft Foundation Classes for c++。如果您已经安装了Visual Studio,当您尝试创建MFC项目时,系统将提示您安装Visual c++和/或MFC。

Visual Studio 2017及以后:当您从Visual Studio安装程序的可选组件窗格中选择MFC和ATL支持时,Unicode和mbc MFC dll将与带有c++工作负载的桌面开发一起安装。如果您的安装不包括这些组件,请导航到“文件|新建项目”对话框,并单击“打开Visual Studio安装程序”链接。有关更多信息,请参见安装Visual Studio。

上一篇:antlrworks2安装


下一篇:[蓝桥杯][2013年第四届真题]买不到的数目