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

Marc Santhoff M.Santhoff at t-online.de
Mon Sep 3 07:08:23 CEST 2007


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 failed up to know ...

TIA,
Marc





More information about the fpc-pascal mailing list