CString str = _T("HELLO"); LPTSTR lpszStr = str.GetBuffer(str.GetLength() + 1); //lpszStr er nå en char *