On 01 Aug 2010, at 14:45, Matthias Klumpp wrote:
I have a record containing a set of variables. This record should
now be
accessed from an application developed in C (through a shared
library).
Because Pascal records are incompatible with C structs
If you use {$packrecords c}, then records in FPC will use the same
layout as C structs on the current platform.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal