Re: [fpc-pascal] handing over array of pchars to C program

2007-09-11 Thread Marc Santhoff
Am Montag, den 03.09.2007, 09:31 +0200 schrieb Marco van de Voort: > > has anyone managed to build in a pascal program what in C is a > > > > char *strings[] > > > > and use it from C? > > Same as char**strings so ppchar. The missing link. :) > > In pascal terms this is a single dimension

Re: [fpc-pascal] handing over array of pchars to C program

2007-09-03 Thread Jonas Maebe
On 03 Sep 2007, at 07:08, Marc Santhoff wrote: has anyone managed to build in a pascal program what in C is a char *strings[] and use it from C? In pascal terms this is a single dimensional array aka vector of PChar. Do I have to make copies of any string or is it sufficient to f

Re: [fpc-pascal] handing over array of pchars to C program

2007-09-03 Thread Marco van de Voort
> has anyone managed to build in a pascal program what in C is a > > char *strings[] > > and use it from C? Same as char**strings so ppchar. > In pascal terms this is a single dimensional array aka vector of PChar. > > Do I have to make copies of any string or is it sufficient to fill

[fpc-pascal] handing over array of pchars to C program

2007-09-02 Thread Marc Santhoff
Hi, has anyone managed to build in a pascal program what in C is a char *strings[] and use it from C? In pascal terms this is a single dimensional array aka vector of PChar. Do I have to make copies of any string or is it sufficient to fill up an array with PChar? My attemtps all fail