Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C Structure of VFP table and Records
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00222405
Message ID:
00222423
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform