flat assembler
Message board for the users of flat assembler.
Index
> Windows > A little help, if you may |
Author |
|
Rookie 08 Jun 2004, 04:43
I have the following code:
Code: section '.data' data readable writeable _timefmt db 'mm/dd/yyyy hh:mm:ss tt:',13,10,' ',0 lpSystemTime SYSTEMTIME lpTimeTagStr rb 27 section '.code' code readable executable invoke GetLocalTime,lpSystemTime invoke GetDateFormat,0,lpSystemTime,_timefmt,lpTimeTagStr,27 invoke GetTimeFormat,0,lpSystemTime,_timefmt,lpTimeTagStr,27 It compiles, but at runtime it crashes. How come? (I'm notorious for mixing up pointers with their values. Did I do it again?)
_________________ This is who I choose to be. |
|||||||||||
08 Jun 2004, 04:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.