vs2013 error:Building an MFC project for a non-Unicode character set is deprecated

1、VS2013多字節工程問題

使用VS2013編譯舊版VC++程序時,提示Building an MFC project for a non-Unicode character set is deprecated,微軟提供瞭解決方案。

2、錯誤信息

1>------ 已啓動生成:  項目: Decrypt, 配置: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(369,5): 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.
========== 生成:  成功 0 個,失敗 1 個,最新 0 個,跳過 0 個 ==========

3、解決方案

    用於多字節字符編碼 (MBCS) 的 MFC 庫 (DLL) 不再包含於 Visual Studio 中,但是可用作插件,您可以在任何裝有 Visual Studio Professional、Visual Studio Premium 或 Visual Studio Ultimate 的計算機上下載和安裝。(在 Visual Studio 中,必須啓用 MFC。)安裝需要大約 440 MB 磁盤空間,包括英語(美國)和 DLL 的本地化版本。
    在安裝 MBCS DLL 後,如果卸載或修復 Visual Studio,則還會卸載或修復。 但是,如果只禁用 MFC,MBCS DLL 仍會保留在系統上。 如果僅卸載或修復 MBCS DLL,將不會修改 Visual Studio。

    詳細信息:http://blogs.msdn.com/b/vcblog/archive/2013/07/08/mfc-support-for-mbcs-deprecated-in-visual-studio-2013.aspx
    下載地址:http://www.microsoft.com/zh-cn/download/details.aspx?id=40770
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章