Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C Structure of VFP table and Records
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00222405
Message ID:
00222514
Views:
21
>>I have a routine written in C ( not by me ), which dumps the header information for a dbf file, I've found it very useful over the years where clients have data but no copy of Fox installed, I now need to change it to cater for VFP tables, anyone know how to to create a C struct for VFP tables?, what I have at the moment is listed below
>>
>
>The exact structure of the VFP DBF header is available in the on-line Help in the Using Visual FoxPro/Programmer's Guide/Appendix/Table File Structure section.
>
>>

Ed,
thanks, what I need now is some help defining the structure, unsigned int etc,etc

Cheers

Pete

>>TIA
>>
>>Pete Kane
>>
>>typedef struct
>>{
>> char dbf_id ;
>> char last_update[3] ;
>> long last_rec ;
>> unsigned data_offset ;
>> unsigned rec_size ;
>> char filler[20] ;
>>} DBF_HEAD
Regards,
Peter J. Kane



Pete
Previous
Reply
Map
View

Click here to load this message in the networking platform