flat assembler
Message board for the users of flat assembler.
Index
> Windows > API problems Goto page Previous 1, 2 |
Author |
|
roticv 04 Dec 2003, 12:11
Works in win2k.
|
|||
04 Dec 2003, 12:11 |
|
eet_1024 05 Dec 2003, 05:13
Maybe I was thinking of trying to execute code out of the data section.
Well, if it works, it works. |
|||
05 Dec 2003, 05:13 |
|
OzzY 15 Sep 2005, 15:17
And here is another example:
Code: format PE GUI 4.0 include '%fasminc%\win32a.inc' start: call _smc push 0 push ttl spot: push msg endsp: push 0 invoke MessageBox invoke ExitProcess,0 _smc: push esi edi mov esi,_src mov edi,spot mov ecx,endsp-spot rep movsb pop edi esi ret _src: push msg2 msg db "I'm the first msg!",0 ttl db "SMC",0 msg2 db "I'm changed! LOL!",0 data import library user32,'user32.dll',\ kernel32,'kernel32.dll' include '%fasminc%\apia\user32.inc' include '%fasminc%\apia\kernel32.inc' end data Works ok with WinXP and FASM 1.64. |
|||
15 Sep 2005, 15:17 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.