flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
flaith 12 May 2005, 14:29
try :
Code: ... start: push 0 push DumbTitle push DumbString push 0 call [MessageBoxA] ; change to ptr MessageBoxA push 0 call [ExitProcess] ; here too ... _________________ Je suis sur de 'rien', mais je ne suis pas sur du 'tout'. |
|||
![]() |
|
Cthulhu 12 May 2005, 15:45
It didn't work... the result was the same
![]() |
|||
![]() |
|
flaith 12 May 2005, 15:51
the whole code :
Code: format PE GUI 4.0 entry start include '%fasminc%\win32a.inc' ;--------------- ;secao de dados ;--------------- section '.1' data readable writeable DumbString db "Hello world!",0 DumbTitle db "Dumb Title",0 ;--------------- ;secao de codigo ;--------------- section '.2' code readable executable start: push 0 push DumbTitle push DumbString push 0 call [MessageBoxA] ; change to ptr MessageBoxA push 0 call [ExitProcess] ; here too ;--------------- ;tabela de importacao ;--------------- section '.3' import data readable writeable library Kernel32,'Kernel32.dll',\ User32,'User32.dll' ; changed here too import User32,MessageBoxA,'MessageBoxA' import Kernel32,ExitProcess,'ExitProcess' _________________ Je suis sur de 'rien', mais je ne suis pas sur du 'tout'. |
|||
![]() |
|
Cthulhu 12 May 2005, 15:58
Thanks friend!
Now it works ![]() Fasm looks great I think I'll move entirely to it. |
|||
![]() |
|
flaith 12 May 2005, 16:07
Cthulhu wrote: Thanks friend! me too ![]() _________________ Je suis sur de 'rien', mais je ne suis pas sur du 'tout'. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.