Hi Hi deeR44,
As Hutch said, the macro is easier to use. A modified version of the Microsoft example translated to Masm :
include \masm32\include\masm32rt.inc
.code
start:
invoke crt_printf,\
CTXT("Press any key to continue.",13,10)
@@:
invoke crt__kbhit
test eax,eax
jz @b
invoke crt__getch
invoke crt_printf,\
CTXT("Key struck was %c"),eax
invoke ExitProcess,0
END start