wchar to char 변환
char * SDKDemo::ConvertWCtoC(wchar_t* str) //wchar을 char로 변경 { char* pStr ; int strSize = WideCharToMultiByte(CP_ACP, 0,str,-1, NULL, 0,NULL, NULL); pStr = new char[strSize]; WideCharToMultiByte(CP_ACP, 0, str, -1, pStr, strSize, 0,0); return pStr; } wchar_t* SDKDemo::ConverCtoWC(char* str) //char을 wchar로 변경 { wchar_t* pStr; int strSize = MultiByteToWideChar(CP_ACP, 0,str, -1, NULL, NULL); pStr ..
2020. 3. 23.