Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handle Invalid with SHFileOperation ?? Say What??
Message
De
06/03/2003 15:21:12
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00761891
Message ID:
00762413
Vues:
16
Partial solution Found!

Issuing a CLOSE ALL, closes any files opened with a Low Level File Function, thereby releasing the system file handle(s). Putting CLOSE ALL in my FOR..ENDFOR loop seems to cure the problem.

But this is rather a heavy handed way of doing things. Let's say for example that I have tables or other files open that I want to use. If I could determine the file handle number associated with the Folder3 file name, then I could issue a FCLOSE(lnFileHandleNum); a much more elegant solution.

Do you know how I can retrieve the file handle number of a specific open file?

Thanks
Don Lowrey
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform