flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Misaligned Unicode strings passed as procedure args. |
Author |
|
MHajduk 19 Sep 2008, 11:09
Using quoted Unicode strings as a procedure parameters, however very convenient, may cause strange problems when program is executed in 64-bit environment. Some strings are displayed badly or aren't displayed at all. This problem with macros in the 'win32wx.inc' header file was eported for the first time in this thread http://board.flatassembler.net/topic.php?t=9103.
bitRAKE and revolution presented some very simple corrections which (if made in the 'win32wx.inc' macros) will fix this bug: Code: ; bitRAKE's proposition ; if (1 and $)=0 ; force aligned nop ; wide character end if ; string call ..continue du value,0 ..continue: Code: ; revolution's proposition ; times (1 and ($+1)) nop call ..continue du value,0 ..continue: |
|||
19 Sep 2008, 11:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.