////////////////////Cstring转换成String/////////////
#ifdef UNICODE
USES_CONVERSION;
str1 = W2A(cstr1);
str2 = W2A(cstr2);
#else
str1 = (LPCTSTR)cstr1;
str2 = (LPCTSTR)cstr2;
#endif
Cstring转换成String
最新推荐文章于 2024-05-17 16:35:59 发布
////////////////////Cstring转换成String/////////////
#ifdef UNICODE
USES_CONVERSION;
str1 = W2A(cstr1);
str2 = W2A(cstr2);
#else
str1 = (LPCTSTR)cstr1;
str2 = (LPCTSTR)cstr2;
#endif