Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Low-level file functions
Message
De
14/03/2002 14:52:29
 
 
À
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:
00632976
Vues:
12
I just changed my FSEEK() to go to EOF before appending and it worked...I did have it going to BOF and it wasn't working...guess you can't do it that way?!?!

Thanks for all your help!


>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