Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Low-level file functions
Message
De
14/03/2002 14:34:57
 
 
À
14/03/2002 14:23:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00632938
Message ID:
00632961
Vues:
13
My FOPEN() command already is opening in read-write mode, it just isn't appending. Thanks for the tip on FERROR() though, I didn't know about that function.


>Joe,
>This should work. Make sure that you FOPEN() the file in read-write mode and that you have a valid handle. Use FERROR() to trap any errors.
>
>HTH
>>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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform