Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing reference to .txt file in VFP environment
Message
 
 
To
01/07/2002 20:45:55
Jordan Pastourel
Worksafe Management Systems
Toowong, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00674186
Message ID:
00674221
Views:
21
>Close all does indeed help, but i can't find anywhere in my code that i have overwritten the handle before close.
>
>lhFormatFile = fopen(lcfile)
>fseek(lhFormatFile,0)
>lcLine = fgets(lhFormatFile)
>fclose(lhFormatFile)
>
>this code is in a loop and lcfile changes to different file names.
>
Hi Jordan,

The code you posted doesn't help much because it doesn't show a logic of your program. Try to use debugger to trace your code and see if 'fclose(lhFormatFile)' realy closes a file or maybe it returns .F.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform