I saw that in some places (I think gtk2) "varargs" is used for open
arrray API calls.
Any reason that is not adapted for Windows (overloaded)?
function wsprintfA(_para1:LPSTR; _para2:LPCSTR; const args:array of
const):longint; cdecl; external 'user32' name 'wsprintfA';
function wsprintf(_para1:LPSTR; _para2:LPCSTR; const args:array of
const):longint; cdecl; external 'user32' name 'wsprintfA';
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel