susiriss
February 7th, 2005, 02:39 AM
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.
ULONGLONG DiskSize;
:
:
wsprintf(msg," Disk size = %lu bytes", DiskSize);
Is there any special type specifier that can be used with wsprintf() instead of %lu? (%I64d doesn't work with wsprintf() )
Help me ...!
susiriss.
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.
ULONGLONG DiskSize;
:
:
wsprintf(msg," Disk size = %lu bytes", DiskSize);
Is there any special type specifier that can be used with wsprintf() instead of %lu? (%I64d doesn't work with wsprintf() )
Help me ...!
susiriss.