Restored from previous forum. Originally posted by Justin.
I don't know a word of asm, but thanks to a post from el_Choni i understand a little how it works, my question is how do i get the return value from the function call?
Restored from previous forum. Originally posted by Pupil.
Originally posted by Justin
I don't know a word of asm, but thanks to a post from el_Choni i understand a little how it works, my question is how do i get the return value from the function call?
push Type
push caption
push text
push hWnd
call msg
mov r,eax
MessageRequester("",Str(r),0)
Like i said a don't know asm, maybe some experienced coder could tell us if there is something wrong using this, or something i should take care about with?
Restored from previous forum. Originally posted by Justin.
Thaks Fred, i noticed that if i put it inside a procedure it does not work, i use a gosub to use the routine several times with different parameters and then i free the library, i think is ok.
Btw, i found a very interesting page about ASM and Win32 programming:
I'm trying a little inline asm also, i whas using asm without knowing, 'INC a' is the command in GFA basic(i used before) to add 1 to a, so it whas in the sources i translated. But i whas wondering why my app whas not working....inline asm whas off