Someone made a macro in MASM32 called CTEXT where you could so something like
invoke MessageBox,NULL,CTEXT("Hello"),CTEXT("Hi there!"),MB_OK
But I have not been able to translate the macro into FASM. Is it possible?
invoke MessageBox,NULL,CTEXT("Hello"),CTEXT("Hi there!"),MB_OK
But I have not been able to translate the macro into FASM. Is it possible?
It's possible thanks to this thread.
Maybe we should gather all such macros in one place, so it would be easier for anyone to find one he's looking for.
Maybe we should gather all such macros in one place, so it would be easier for anyone to find one he's looking for.
Thanks alot Privalov, you're the best. If I understand correctly changing stdcall, autmatically makes invoke work that way because invoke uses stdcall, right?
And I agree, you should gather all the macros, like this one and the cdecl one, and maybe even include it with the next version. This is actually better than CTEXT .
And I agree, you should gather all the macros, like this one and the cdecl one, and maybe even include it with the next version. This is actually better than CTEXT .