There're two classes in the download section that allow to work with structures
and pointers in VFP: file #
986 and file #
9557. You'll have to figure out if you can use one of them for your task.
>Hello All,
>
>I am attempting to using API calls to a 3rd party DLL to query their own database.
>
>The function I have found myself using seems fairly simple at first glance...
>
>void CheckDetails (DetailsChecked* details, long* Index)
>
>The problem I have is with the DetailsChecked structure type. The type itself is made up of 70 parameters each being LONG or CHAR* (pointers to the memory address of CHAR datatypes)
>
>An Example would be that the DetailsChecked Structure is made up thus:
>
>(CHAR* String1, LONG LengthOfString1, CHAR* String2, LONG LengthOfString1)
>
>Although with 70 parameters rather than 4.
>
>Can this structure be emulated in VFP 6.0? I have tried declaring an array of 70 elements, I also tried one long character string... until I realised that CHAR* was apointer to the value rather than the value itself. Any ideas?
>
>TIA for any advice or help that can be provided.
>
>Regards,
>
>Ben
--sb--