Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing reference to .txt file in VFP environment
Message
 
 
À
01/07/2002 20:45:55
Jordan Pastourel
Worksafe Management Systems
Toowong, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00674186
Message ID:
00674221
Vues:
20
>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform