Visual C++ 6.0 是否支持 unicode? [英] did visual c++ 6.0 support unicode?
问题描述
我必须将c++ 6.0项目迁移到visual c++ 2010项目.首先,我必须将prj转换为unicode,然后转换为vs 2010.我很困惑visual c++ 6.0是否支持unicode?如何知道?谢谢
i must migrate a c++ 6.0 project to visual c++ 2010 project.First, i must convert prj to unicode ,then convert to vs 2010.I confuse that did visual c++ 6.0 support unicode ?how to know it thanks
推荐答案
是的,它与最新版本完全一样支持 Unicode.在您的项目中设置 Unicode 标志会生成 _UNICODE
常量的 #define
,这会更改 Windows API 函数的名称并将 CString 更改为使用 wchar_t 而不是 char.
Yes, it supported Unicode exactly as the most recent version does. Setting the Unicode flag in your project produces a #define
of the _UNICODE
constant, which changes the names of the Windows API functions and changes CString to use wchar_t instead of char.
这篇关于Visual C++ 6.0 是否支持 unicode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!