Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Low-level file functions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00632938
Message ID:
00632947
Vues:
11
>I'm using low level file fuctions to log certain miscellaneous messages to a text file.
>
>If the file already exists, I open it using FOPEN, then move the pointer to the end of the file using Fseek(lnFileHandle, 0, 2) and then tried using both FPUTS and FWRITE to append to the file.
>
>This didn't work and I'm not sure why. Is it possible to append to a text file using the low level functions?
>
>I am currently running in the VFP 5.0 environment and am not able to use FileToStr and StrToFile.
>
>TIA!

While you may not have the new methods, have you ever thought of just appending the data into a memo field, adding what you want, then copying it back out to a file? Might be easier than using the low level functions.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform