Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Low level write - problem when closing file
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00756718
Message ID:
00756724
Views:
9
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform