Dear friends,
I wanted to write a 64-bit integer to a string and used the wsprintf function as below. Although the value is correctly assigned to the variable, it seems like truncated in the printed string.
Is there any special type specifier that can be used with wsprintf() instead of %lu? (%I64d doesn't work with wsprintf() )Code:ULONGLONG DiskSize; : : wsprintf(msg," Disk size = %lu bytes", DiskSize);
Help me ...!
susiriss.




Reply With Quote