c++builder2010升级到XE7后,String类型与UnicodeString的方法t_str()与c_str()全部是转成wchar_t?
WIN8 64中文系统;
1. 在project->options中设置_TCHAR maps to char
2. tools->options->Enviroment Options->c++options->project properties: 设置_TCHAR maps to char
在项目中String类型与UnicodeString的变量,使用t_str()与c_str()都是转成wchar_t
好像只能AnsiString变量类型的c_str()是能将变量转换成char_t的。
难道是我哪里错了?