flat assembler
Message board for the users of flat assembler.
Index
> Main > Specify string encoding. |
Author |
|
macomics 09 Oct 2021, 20:28
alternatively, you can declare
Code: IMPORT64.INC [62]: db string,0 load test byte from ($ - 2) rb RVA $ and 1 if test = "W" define label#.TCHAR du define label#.sizeof.TCHAR 2 else define label#.TCHAR db define label#.sizeof.TCHAR 1 end if Code: PROC64.INC [50]: if defined proc#.sizeof.TCHAR & defined proc#.TCHAR align proc#.sizeof.TCHAR ..string proc#.TCHAR definition@param,0 else align sizeof.TCHAR ..string TCHAR definition@param,0 end if Code: PROC64.INC [42]: if defined proc#.sizeof.TCHAR & defined proc#.TCHAR align proc#.sizeof.TCHAR ..string proc#.TCHAR definition@param,0 else align sizeof.TCHAR ..string TCHAR definition@param,0 end if |
|||
09 Oct 2021, 20:28 |
|
Overclick 10 Oct 2021, 07:45
invoke MessageBoxW,...
invoke MessageBoxA,... Use the full name of api, not shorter one. |
|||
10 Oct 2021, 07:45 |
|
thetrick 11 Oct 2021, 17:12
Thank you all guys!
|
|||
11 Oct 2021, 17:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.