>I have a C header file that declares several structures to be used in API calls to a dll. If I include this header file in fox, can I use these structures in the API calls? If not, how can I set up structures in fox to allow me to make these calls?
>
>TIA
You have to simulate the structure using a string. For example, here's the C declaration for a FILETIME structure:
typedef struct _FILETIME { // ft
DWORD dwLowDateTime;
DWORD dwHighDateTime;
} FILETIME;
In VFP you'd declare this as:
lcfiletime = REPLICATE(CHR(0), 8)
lcfiletime = SPACE(8)
hth,
George
Ubi caritas et amor, deus ibi est