unicode的编码格式:
CString strCS;
std::string strSTD = CT2A(strCS.GetBuffer());
其他的编码格式:
CString strCS;
std::string strSTD = strCS.GetBuffer();
CT2A(data.strIp.GetBuffer());
标签:std,strCS,string,CT2A,CString,GetBuffer
来源: https://www.cnblogs.com/132818Creator/p/11156821.html