Home » U++ TheIDE » U++ TheIDE: Packages » vsprintf() doesn't support "%I64u" format in Win32 platform?
vsprintf() doesn't support "%I64u" format in Win32 platform? [message #14404] |
Mon, 25 February 2008 16:03  |
HenryXin
Messages: 10 Registered: February 2008
|
Promising Member |
|
|
I log the 64bit data as following format:
SysPrintf("[%I64u,%I64u,%I64u,%s]\n", 0x12345, 0xabcdef, 0x0000, "Starting");
call this function.
SysPrintf(const char *format, ...)
{
va_list ap;
va_start(ap, format);
vsprintf(internal_buffer, format, ap);
va_end(ap);
//console_window.DisplayLine(internal_buffer);
}
But the string I get is wrong..
Call
SysPrintf("[%x,%x,%x,%s]\n", 0x12345, 0xabcdef, 0x0000, "Starting");
the result is OK.
Does stdlib not support "%I64u" format?
Best Regards
Henry
|
|
|
Goto Forum:
Current Time: Sat May 10 05:12:59 CEST 2025
Total time taken to generate the page: 0.00998 seconds
|