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:
00222423
Views:
14
>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.

>
>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
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform