On 19 sep 2004, at 22:34, Gene Buckle wrote:
procedure QMCall(SubrName : PChar; ArgCount : shortint; Args : array of const); cdecl; external 'QMClient';
However, when I build it, I get an error:
QMClient.pas(25,73) Error: Type identifier expected QMClient.pas(25,73) Fatal: Syntax error, ) expected but CONST found
Sorry, it should be
procedure QMCall(SubrName : PChar; ArgCount : shortint; const Args : array of
const); cdecl; external 'QMClient';
(i.e., another "const" in front of "Args").
Jonas
_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal