VC中的char* 转换为 CString,直接强制转换就可以。但是在VS2008就不行: 例如: VC中 CString str = (char*)lParam; VS中 CString str = (TCHAR*)lParam;