Boolean ZipFile( String filePath, String zipFilePath );
filePath String - path to the input file zipFilePath String - path to the output ZIP file (use extension .zip)
Returns true if successful, or false otherwise.
HRESULT ZipFile( [in] BSTR bstrFilePath, [in] BSTR bstrZipFilePath, [out, retval] VARIANT_BOOL *pRet );
bstrFilePath [in] BSTR - path to the input file bstrZipFilePath [in] BSTR- path to the output ZIP file (use extension .zip) pRet [out, retval] VARIANT_BOOL * - VARIANT_TRUE if operation completed successfully
Returns S_OK if successful, or an error value otherwise.
long ZipFile( const std::string& filePath, const std::string& zipFilePath );
filePath const std::string& - path to the input file zipFilePath const std::string& - path to the output ZIP file (use extension .zip)
Returns 0 if successful, or an error code otherwise.
- WebArchiveX API - WebArchiveX Website - C Systems Website -