[lazarus] passing of a struct in pascal

Florian Klaempfl Florian.Klaempfl at gmx.de
Thu Oct 21 05:13:59 EDT 1999


"Baeseman, Cliff" schrieb:
>  if I where to want to pass a pointer to a c struct in pascal is this the
> correct way to do it.? Do I need to pack the records for this call.
> 
>   pinteger = ^integer;
> 
>   lVariant = ^TLVariant
>   {$PACKRECORDS 4}

I think you should use {$PACKRECORDS C}







More information about the Lazarus mailing list