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

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

VS2015要这样设置!!!
在这里插入图片描述

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.
在这里插入图片描述
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。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

W001123456789

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值