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
相關文章
相關標籤/搜索