Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Low level write - problem when closing file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00756718
Message ID:
00756724
Vues:
16
Colin, I am not aware of a bug in LLFF of VFP6 and have used them extensively without issue. Have you applied all SP's for VFP6?

However, the code you gave in your VFP6 post will still start writing from the start of the file in VFP7 because you are not positioning the file pointer.

If the file exists you are opening it for read/write and then you are writing into the file using FPUTS() without first positioning at the end. Therefore you will always start writing from the beginning of the file leaving the possibility open that there will be other info at the end of the file from previous writes.


>Jos
>
>Thanks for your answer. My second post said that it works perfectly in VFP7.
>
>Is this a bug in VFP6?
>
>If so this client cannot afford to upgrade to VFP7 at the moment. What the ramifications of calling a VFP7 executable from VFP6?
>
>Thanks
>
>Colin
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform