__int64 dw = 1565734502480028; int a= sizeof(__int64); CString str; str.Format("%I64d",dw); char b[100]; _i64toa(dw,b,10);