sZip
GZip Function Reference | Example
This function creates a zip file.
Declare Function sZip
Lib "SapphireGZip.dll" (ByVal
sFileIn As String, ByVal
sFileOut As String, ByVal
lSubDirs As Long, ByVal
lLicence As Long) As
Long |
Parameters
|
sFileIn |
|
|
A string specifying the name or pattern of the file(s) to compress. |
|
sFileOut |
|
|
A string specifying the name of the .zip file to create. |
|
lSubDirs |
|
|
A long specifying whether to include sub directories in the compression. |
|
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. |
|