by Andrew Clay <Andrew_Clay@[EMAIL PROTECTED]
>
Feb 27, 2006 at 05:20 PM
On 27/2/06 05:02, in article
1141016577.859796.5340@[EMAIL PROTECTED]
"hellokarl"
<hellokarl@[EMAIL PROTECTED]
> wrote:
> I have a program for converting tab-delimited text to codebase foxpro
> databases. One problem at the moment is that d4create doesn't work
> with dynamic arrays of field or tag infos.
I have the 'C' version of Codebase and it works fine with dynamic arrays
using u4alloc to allocate the required memory.
I don't know the syntax for the language you're using, but the C syntax is
like this for fieldInfo:-
FIELD4INFO *fieldInfo;
fieldInfo = u4alloc(sizeof( FIELD4INFO) * ( FldHdr.Count+1));