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?
Posted on 2002-12-20 13:32:01 by CyberGuy
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.
Posted on 2002-12-20 16:15:05 by Tomasz Grysztar
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 .
Posted on 2002-12-20 18:48:39 by CyberGuy