You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Closes a zip file.

Syntax

SRP_Zip("Close", ZipHandle)

Parameters

NameDescription
ZipHandleHandle to an opened zip file.

Remarks

Call this service to close a zip file. Make sure you call this anytime you successfully call Open or Create. Otherwise, the file will remained lock as long as OpenInsight is running.

Example

// Always close a file when done
hZip = SRP_Zip("Open", "C:\MyFile.zip")
If hZip EQ 0 then
   Call Msg(@Window, SRP_Zip("GetLastError"))
end else
   SRP_Zip("Close", hZip)
end
  • No labels