摘要:
在unicode环境下,将CString转为char*的常用方法为使用WideCharToMultiByte函数:CString temp("abcde");int lenth = temp.GetLength();char *prog = new char[lenth];prog[lenth] = '\0';WideCharToMultiByte(CP_ACP, 0, temp.GetBuffer(0), temp.GetLength(), prog, temp.GetLength(), 0, 0); 阅读全文
posted @ 2014-03-05 18:43
yoyo~
阅读(67)
评论(0)
推荐(0)
2014年3月5日