BSTR key = _T("インフォメーション"); char *szDataIn; CString str = key ; int nSize = str.GetLength(); szDataIn = new char[nSize+1]; memset(szDataIn,0,nSize+1); wcstombs(szDataIn, str, nSize+1);
szDataIn
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)