Hi all,

I define a procedure like this:

type
  TDataHandler = procedure(data: Pointer) of object;

procedure SetHandler(h: TDataHandler); external cdecl;

Now, can I implement SetHandler in a library written in C, then call h in C?

Thankyou.



-- 
Sent from Gmail Mobile
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to