flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
AsmGuru62 03 Feb 2023, 02:03
The function which will work is 'sprintf' from MSVCRT.DLL -- the native NTDLL does not support float point formatting.
Something like that: Code: ; --------------------------------------------------------------------------- section '.idata' import data readable writeable library kernel32,'KERNEL32.DLL',user32,'USER32.DLL',msvcrt,'MSVCRT.DLL' include 'API\Kernel32.Inc' include 'API\User32.Inc' import msvcrt,\ log,'log',\ pow,'pow',\ atof,'atof',\ sprintf,'sprintf' |
|||
![]() |
|
AE 03 Feb 2023, 07:50
True, replacing 'ntdll' to 'msvcrt' in import helps.
Thx. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.