In MASM32LIB.HLP, in the documentation for szappend, the descriptions for the string and buffer parameters are reversed.
Thanks. :thumbu
append$ MACRO string,buffer,location
invoke szappend,reparg(string),buffer,location
EXITM <eax>
ENDM
thats the append$ macro and this is from szappend.asm
; ------------------------------------------------------
; string the main buffer to append extra data to.
; buffer the byte data to append to the main buffer
; location current location pointer
; ------------------------------------------------------
so it should be
invoke szappend,string,reparg(buffer),location