Skip to content

ccy/delphi-zip

Repository files navigation

Delphi Zip

Introduction

TZipFile class in RAD Studio does not support

  • LZMA compression method

  • Zip64 archive format

This library add these features to existing System.Zip.pas via new unit System.Zip2.pas. User can easily switch between System.Zip.pas and System.Zip2.pas in source code.

Source code

The repository organizes source code for various RAD Studio release using branches since RAD Studio XE4.

RAD Studio 11 Alexandria

Usage

To enable Zip64 support, replace System.Zip.pas to System.Zip2.pas.

To enable LZMA compression method, Add System.Zip.LZMA to RAD Studio project.

Example

To extract LZMA zip archive:

uses System.Zip2, System.Zip.LZMA;

begin
  TZipFile.ExtractZipFile('c:\lzma.zip', 'c:\');
end.

About

Delphi System.zip patch with ZIP64 and LZMA supports

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages