I guess the assembler does some checking for stack alignment to prevent problems with other 64-bit libs, this is an issue with the assembler unless it has an override option, maybe try
as for the other code, does basicstring return a pchar/pointer? if so tryCode:[32BIT] push edi push .. etc
better still:Code:basicstring(resvalue)^ := ''
Code:var p: PAnsiChar;Code:p := basicstring(resvalue); args.outVal.n.sbuf := p; p^ := ''
Bookmarks