flat assembler
Message board for the users of flat assembler.
Index
> Windows > I have problems reading from memory from a STRUCT |
Author |
|
JohnFound 12 Nov 2004, 12:23
Because wHour is word, but the arguments of the wsprintf are dword always.
You have to use something like: Code: movzx eax, [_mytime.wHour] ; or maybe movsx invoke wsprintf, _buffer, _prefix, eax |
|||
12 Nov 2004, 12:23 |
|
BoR0 12 Nov 2004, 20:18
Oh right, thanks, Got it
|
|||
12 Nov 2004, 20:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.