ple103
ple103

Reputation: 2110

Compression component

I am looking for a compression component that supports Delphi2010 and allow me to do the basic operations of:

I also need the component to be free for commercial usage and possibly does not use/rely on a DLL (I don't mind if it does).

So far I have looked into ZipForge, FlexCompress, KaZip and UnRAR, but I found out that I needed to purchase a license to commercially use ZipForge and FlexCompress. When it came to KaZip, there were errors in the code so I was unsuccessful in terms of installing the component. Whereas UnRAR was just that; it only decompressed .zip or .rar archives.

So In summary, I need a compression component that:

Upvotes: 6

Views: 4967

Answers (6)

awmross
awmross

Reputation: 3839

We use ZipMaster.

Needs a DLL, works with 2010.

Upvotes: 2

Arnaud Bouchez
Arnaud Bouchez

Reputation: 43023

Take a look at this OpenSource SynZip unit. It's even faster for decompression than the default unit shipped with Delphi, and it will generate a smaller exe (crc tables are created at startup).

In order to delete a zip content, you can mix TZipWriter and TZipReader to copy only the needed archived files inside the zip.

No external dll is needed. Very small code overhead. Works from Delphi 6 to XE (shortly for XE2).

I just made some changes to handle Unicode file names inside Zip content, not only Win-Ansi charset but any Unicode chars.

Upvotes: 3

az01
az01

Reputation: 2018

There is also this component build around 7zip dll (alpha stage, but support for D7 to D2010):

http://www.rg-software.de/rg/index.php?option=com_content&view=article&id=29&Itemid=51

Upvotes: 1

ain
ain

Reputation: 22749

The JCL has a nice set of compression classes for both files (ie common archive formats) and for in memory stuff (TStreams) in jclCompression unit. For some formats it requires DLL, it uses 7zip one. But it is open source and free (MPL / LGPL).

Upvotes: 4

RBA
RBA

Reputation: 12584

I've used Zlib and Abbrevia and are working very well

Upvotes: 0

LachlanG
LachlanG

Reputation: 4087

Abbrevia will serve your purposes nicely.

Upvotes: 8

Related Questions