定义变量
char *szbuff = "三翻四复第三方斯蒂芬";
char szbuff1[1024] = {0};
TCHAR *szbuffT = _T("三翻四复第三方斯蒂芬");
TCHAR szbuffT1[1024] = {0};
ANSI 到 unicode
USES_CONVERSION;
_tcscpy_s(szbuffT1, _countof(szbuffT1), A2W(szbuff));
strcpy_s(szbuff1, _countof(szbuff1), W2A(szbuffT));
unicode 到ANSI
_tcscpy_s(szbuffT1, _countof(szbuffT1), CA2W(szbuff));
strcpy_s(szbuff1, _countof(szbuff1), CW2A(szbuffT));