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:
00222514
Vues:
23
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform