TCHAR 在多字节的前提下是char类型,在unicode下才是wchar_t类型的,所以需要设置成unicode的字符集。
工程中使用Unicode字符集。
error C2664: 不能将参数 1 从“const TCHAR [256]”转换为“const wchar_t *”
猜你喜欢
转载自blog.csdn.net/qq_23350817/article/details/106428473
今日推荐
周排行