UNICODE下CString 和 const char* 的相互转化

const char* 转换为 CString:html const char* c; c = "abcdef"; CString s; int len = strlen(c); TCHAR* c1 = (TCHAR*)malloc(sizeof(TCHAR)*len); MultiByteToWideChar( CP_ACP , 0 , c , len+1 , c1 , len+1); s.Fo
相关文章
相关标签/搜索