LPCTSTR和char*之间的转换

方法一:ide #include <atlbase.h> spa LPCTSTR str; char* pNewStr;ci USES_CONVERSION;//必定要加上这个宏file pNewStr = T2A(str);//调用A2T,T2A,T2W等进行转换方法   方法二:co     LPCTSTR str;let    int size= WideCharToMultiByte(CP
相关文章
相关标签/搜索