Hi, to all, I'm having the following problem:
I'm trying to convert a CString to long(or number), but the number that is in the Cstring is too big and I loose data of the number.
I was thinking in using instead of long use the variable ULONGLONG, but the problem is that I don't know if there is Build-in method that converts Cstring to ULONGLONG.
Any ideas, how I can solve this problem, convert a big number stored in a CString and save it in a variable number.
I try this but is not working
CString pi_sString = ''1099511627775";
long nNumber = atol(pi_sString);
Thanks :rolleyes: