CString转化到char*
char* cstringCovertChar(CString str){ int strLength = str.GetLength() + 1; char *pValue = new char[strLength]; strncpy(pValue, str, strLength); return pValue; }
char* cstringCovertChar(CString str){ int strLength = str.GetLength() + 1; char *pValue = new char[strLength]; strncpy(pValue, str, strLength); return pValue; }