unicode的编码格式:

CString strCS;

std::string strSTD =  CT2A(strCS.GetBuffer());

其他的编码格式:

CString strCS;

std::string strSTD = strCS.GetBuffer();

CT2A(data.strIp.GetBuffer());

05-11 20:07