[lazarus] passing of a struct in pascal

Baeseman, Cliff Cliff.Baeseman at greenheck.com
Thu Oct 21 10:12:23 EDT 1999


yep thanx Florian I already got it.

Cliff

-----Original Message-----
From: Florian Klaempfl [mailto:Florian.Klaempfl at gmx.de]
Sent: Thursday, October 21, 1999 3:48 AM
To: lazarus at miraclec.com
Subject: Re: [lazarus] passing of a struct in pascal


"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}


_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list