On 01.08.2010 14:45, Matthias Klumpp wrote: > Because Pascal records are incompatible with C structs
how are they incompatible? It should be possible to define the same record as a struct in C and for every struct in C it should be possible to define the same as a record in Pascal. Then you could work with pointers to these structs (or records). The difficulty in your example might come from the fact that it involves the usage of strings and pascal will handle strings a bit differently than this is usually done in C. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal