flat assembler
Message board for the users of flat assembler.
Index
> Windows > [solved] sprintf did exist variant pointer to array ? |
Author |
|
revolution 10 Jan 2021, 13:51
Read about vsprintf
BTW: This isn't Windows related, it is about the C runtime library. |
|||
10 Jan 2021, 13:51 |
|
Roman 10 Jan 2021, 14:24
Thanks.
This is what i wanted. |
|||
10 Jan 2021, 14:24 |
|
ProMiNick 10 Jan 2021, 14:48
by the way why so exotic as sprintf?
why not user32.dll.wsprintfA? user32.dll.wsprintfW? or with varargs user32.dll.wvsprintfA? user32.dll.wvsprintfW? in user32.dll more faster variant |
|||
10 Jan 2021, 14:48 |
|
Roman 10 Jan 2021, 18:50
wvsprintfA
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-wvsprintfa The buffer that is to receive the formatted output. The maximum size of the buffer is 1,024 bytes. Hm. Strange why only 1 024 bytes ? |
|||
10 Jan 2021, 18:50 |
|
revolution 10 Jan 2021, 23:49
Roman wrote: Hm. Strange why only 1 024 bytes ? |
|||
10 Jan 2021, 23:49 |
|
AsmGuru62 11 Jan 2021, 04:32
Also, wsprintf() does not format floating point values, but sprintf() does.
|
|||
11 Jan 2021, 04:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.