[차트디렉터] 한글표시
차트디렉터 게시판 CString CNCCView::AsciiToUTF(CString strText) { int nLen = MultiByteToWideChar(CP_ACP, 0, strText, -1, 0, 0); LPWSTR pWTitle = new WCHAR[nLen+1]; pWTitle[nLen] = '\0'; MultiByteToWideChar(CP_ACP, 0, strText, -1, pWTitle, nLen+sizeof(WCHAR)); nLen = WideCharToMultiByte(CP_UTF8, 0, pWTitle, nLen, 0, 0, NULL, NULL); LPSTR pBTitle = new CHAR[nLen+1]; pBTitle[nLen] = '\0'; WideCharToMultiBy..
2011. 11. 1.