GZip Function Reference

sGUnzip

GZip Function Reference | Example

This function decompresses a .gz file.

Declare Sub sGUnzip Lib "SapphireGZip.dll" (ByVal sFileIn As String, ByVal sFileOut As String, ByVal lDelete As Long, ByVal lLicence As Long)

Parameters

  sFileIn
    A string specifying the name of the file to decompress.
  sFileOut
    A string specifying the name of the file to create after decompression.
  lDelete
    A long flag specifying whether to overwrite the destination file if it already exists. 1 is overwrite, 0 is don't overwrite.
  lLicence
    A long specifying the licence number of the registered utility. If using in demo mode, enter 1234567890.

Return Values

  None