>Hi,
> Is there any way to create a structure in VFP as *typedef* in C to allow pass my structure to C program??
Structures can be created in strings and passed by reference to C-style .DLLs; the difficulty comes in constructing memory references outside of VFP-controlled memory variables, since VFP can move things about in memory between VFP statements, and does not provide a native method to retrieve a static pointer to memory.
There are a couple of solutions here on UT; Paul Tatavu's POINTERS class uses an OCX to handle the memory management task. My own CLSHEAP is a very minimalist memory management class that uses only VFP and a few API calls to allocate and deallocate memory blocks and move VFP strings to and from addresses in memory.