//11111111111
char temp[128] = { 0 };
Cstring cstr;
wcstombs(temp, cstr, 127);
string tempstr = temp;
//22222222222
CString cstr;
USES_CONVERSION;
string str(W2A(cstr));
//11111111111
char temp[128] = { 0 };
Cstring cstr;
wcstombs(temp, cstr, 127);
string tempstr = temp;
//22222222222
CString cstr;
USES_CONVERSION;
string str(W2A(cstr));