//int64 与cstring 互转
int64_t val = 1111111111111111111;
CString str;
str.Format(("%I64d"), val); //%I64u 为无符号
int64_t val2 = 0;
_stscanf(str.GetString(), _T("%I64d"), &val2);
//DWORD 与cstring 互转
DWORD dwVal = 0Xffffffff;
CString sVal;
sVal.Format("%u", dwVal);
DWORD dwVal2;
sscanf(sVal, "%u", &dwVal2)