Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxSqz File handle leaks?
Message
 
To
21/06/2005 06:50:14
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025081
Message ID:
01025085
Views:
25
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform