sUnzip
GZip Function Reference | Example
This function decompresses a zip file.
Declare Function sUnzip
Lib "SapphireGZip.dll" (ByVal
sFileIn As String, ByVal
sFileOut As String, ByVal
lWithPath As Long, ByVal
lLicence As Long) As
Long |
Parameters
|
sFileIn |
|
|
A string specifying the name of the zip file to decompress. |
|
sFileOut |
|
|
A string specifying the name of the file to extract out of the zip
file. If all files are to be extracted, this parameter should be an
empty string. They will be extracted to the root directory. If you
wish to specify a destination directory to extract all the files to,
simply specify a he path, e.g. '\My Documents\". |
|
lWithPath |
|
|
A long specifying whether to use the original path information in
the zip file. 1 = Yes, 0 = No. |
|
lLicence |
|
|
A long specifying the licence number of the registered utility.
If using in demo mode, enter 1234567890. |
Return Values
|
Returns a number indicating success or failure where 0 is successful. |
|