On 19 sep 2004, at 22:30, Gene Buckle wrote:

procedure QMCall(subrname: pchar; argc: shortint; rest: array of
const); cdecl; external;

You can then call it using

QMCall('test',1,['para1','para2',5,null]);

(I know you said it only needed strings, but it's just to show that you
can pass anything that way, just like with "...").

Jonas, thanks for the quick response! Do you know if this same trick will
work with Delphi 7?

I have no idea. I've never programmed in Delphi in my entire life.


Jonas


_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to