Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxSqz File handle leaks?
Message
 
À
21/06/2005 06:50:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01025081
Message ID:
01025085
Vues:
27
May be FoxSqz doesn't release the handles for open files after foxsqz(...). Did you try to DELETE the file, just for testing?
IF NOT "foxsqz5" $ LOWER(SET("LIBRARY"))
   Set Libr To foxsqz5 Additive
ENDIF
FOR iloop = 1 TO lnCount
    lnErrorCode = foxsqz("SCQ", lcToPath + "outfile.zip", lcFromPath + aFiles[iLoop,1])
    ERASE (lcToPath + "outfile.zip")
    ERASE (lcFromPath + aFiles[iLoop,1])
Next
RELEASE LIBRARY foxsqz5.fll
DON'T try this on real files, make some temp dir, copy a few files there and try this code to see what happens and where (if any) an error will arise.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform