TCompress component set V11.0

File and Database Compression Components for Delphi, C++ Builder and Kylix - continually supported since 1995!


What is TCompress?
What can it do?
Registration Information
New in V11.0 (now supports RAD Studio XE7)
Download a copy
Tips & Tricks
TCompress logo Embarcadero Technology Partner

What's New?

September 2014: TCompress v11.0 and TCompLHA v11.0 now add support for RAD Studio XE7 (Delphi and C++ Builder) including 64-bit platforms. This is a chargeable upgrade for users of all earlier versions of TCompress.
(1) this version supports only 32-bit database blob compression for the 32-bit platform, as there is no 64-bit version of the BDE
(2) for XE7 and later: to use the database compression components, you need to install the BDE before compiling the package containing them - see
(3) the download does not include object files for C++Builder, Kylix, Delphi.Net or for Delphi compilers earlier than XE3. For those compilers, please evaluate using the Delphi DCUs provided and obtain a full source license to use with your compiler, rather than a standard license.
Download it here.

May 2014: TCompress v10.3 and TCompLHA v10.3 released. incorporating support for RAD Studio XE6.

October 2013: TCompress v10.2 and TCompLHA v10.2 released. incorporating support for RAD Studio XE5.

August 2013: TCompress v10.1 and TCompLHA v10.1 released. incorporating support for RAD Studio XE4.

September 2012: TCompress v10.0 and TCompLHA v10.0 with support for RAD Studio XE3.

December 2011: TCompress v9.4 released, fixing a small bug related to DLL compressed resources, and using code-page independent strings in CompressString and ExpandString. Free upgrade for existing TCompress v9 registered users - just download and use the latest component file.

November 2011: TCompress v9.3 and TCompLHA v9.3 now add support for RAD Studio XE2, Delphi 2012 and C++Builder 2012. No source changes. Free upgrade for existing TCompress v9 registered users - just download and use the latest component file.

TurboNote+: Have you downloaded TurboNote+, our award-winning onscreen sticky notes and instant messaging program? Great for developers, great for offices, great for remembering tidbits of information. Or try the freeware version at

Note: If you're specifically looking for LHA and LHArc-compatible compression and archive management, check out our TCompLHA component set. Ideal for backup, security and compressed communications.


TCompress provides native components for Delphi (including .NET), C++ Builder and Kylix supporting easy creation of multi-file compressed archives, as well as database, file and in-memory compression using streams.

Three compression methods (RLE, LZH1 and LZH5) are built in, with "hooks" for the easy addition of custom compression formats. Compressed file protection using keys is supported.

TCompress also includes drop 'n play components for automatic database blob, image, memo and rich text, based on the VCL's TDBMemo, TDBImage and TDBRichText components.

Bitmap images compress by up to 98% when using LZH5, hence there is a massive saving in disk space and disk or network access when using these components.

TCompress comes with an extensive demonstration, many source examples (including how to make a self-extracting EXE) and comprehensive help and keyword files.

Included in the TCompress set are:

*TCompress component — general purpose multi-file archive, resource and stream compression. Includes RLE and LZH compression as standard
*TCDBImage component — uses TCompress to automatically compress/expand database image fields
*TCDBMemo component — uses TCompress to automatically compress/expand database memo fields
*TCDBRichText component — uses TCompress to automatically compress/expand rich text database fields
*COMPDEMO application — extensive full-source drag-and-drop demonstration of multi-file and database field compression (note: under XE7 or later, you need to install the BDE before compiling this - see
*Numerous source examples — several example files showing how to use the TCompress event handlers, how to work directly with database blobs (e.g. saving compressed arrays), how to store compressed resources in your EXE or DLL and how to implement custom compression

Key Features

TCompress and its companions provide very comprehensive data compression capabilities. Most developers might only need to drop a TCompress component on a form and call its ExpandFile/CompressFile methods in order to create and work with their own multi-file archives...

Others might drop TCDBMemo/TCDBImage/TCDBRichText components on as well and simply interact with them to have text and picture data automatically compressed and decompressed when they are stored in a database (requires BDE, hence 32-bit platform only).

...and some developers might use the TCBlobfield class to store all kinds of data (sound, numbers, video etc) directly into compressed database blobs.

New in TCompress v11.0

No source change was made for this release.

New in TCompress v10.3 (May 2014)

No source change was made for this release.

New in TCompress v10.2 (October 2013)

No source change was made for this release.

New in TCompress v10.1 (August 2013)

No source change was made for this release.

New in TCompress v10.0 (August 2012)

New in TCompress v9.4 (December 2011)

New in v9.3 (November 2011):

New in v9.2: Added support for Delphi 2011 and C++ Builder 2011 (RAD Studio XE).

New in v9.1: Added support for Delphi 2010 and C++ Builder 2010 (RAD Studio 2010).

New in v9.0:

TCompress v11.0 is a CHARGEABLE upgrade for users of all versions prior to v11.0 -- download the new files and upgrade via our online order form.

Upgrade price for Registered Users of earlier versions: $US79

If you bought source units for an earlier version, the upgrade fee above includes a source upgrade for any units you own.

For proof of registration, please supply your existing RegName and RegNumber. For proof of source code ownership, please supply the first four source lines of each unit you own.

Crossgrade price for Registered Users of TCompLHA: $US79

To order your upgrade or crossgrade, use our online form or use the form in the Registration section of Compress.hlp.

Come back soon to find about about new TCompress developments and add-ons.

Download TCompress

Download TCompress V11.0 today! (873KB) (<=== this link will do it)

While you're waiting for the download, why not leave your email address so we can notify you of any significant improvements to the product? We won't bother you with minor amendments, but we'd be happy to advise you when the next major upgrade occurs. By the way, have you checked out TCompLHA?

As our way of saying thanks, every downloader who completes this form will be given a download link for our free TurboSR global Search and Replace utility.

With which product(s) are you considering using TCompress?  Delphi 2010 or earlier:   Delphi XE or later:    Delphi XE7: 
C++ Builder 2010 or earlier:    C++ Builder XE or later:    C++ Builder XE7:    Kylix 3.0: 
For which main purpose(s) are you considering TCompress? Backup: Communications: DB Blob compression: Security: Self-extracting EXEs: Installation: Archival:
Other (please tell us what): 


TCompress Registration and License fee: $US99

Full source code of the Compress unit is also available for an additional $US59.
The Compctrl unit (database components) source is $US59.

On registering, you will receive:

We accept registration via Mastercard, Visa or bank draft/electronic transfer.
Register online using our secure order form.
Alternatively, just print and fax or email the handy form in the Registration section of the Compress.hlp file.

Tips & Tricks

"I found that best compression rates on large tables are achieved by using first coRLE to squeeze the table quickly into 25% of it's original size and then coLZH to finish it up. It gives the best compression/time ratio and the best compression rate ever: 1,076,152 bytes squeezed down to 39,300bytes."
Bob Heida (

"I tweaked the Compress method source so it always puts a header in compressed blobs. Having done that, I can now compress multiple items into a single database field — very useful if you have a range of information to store in a single record."
Lee Slater (

"Well, I just tested using TCompress with images in Interbase and it works just fine. The trick seems to be to set the TCblobfield size to 1. It's the same you'd write for any other SQL database I think."
Ricky Engberg (

If you have any tips of your own to add, or particular usage questions, please email

News and Reviews: What TCompress users have said, and what they're doing with it

"The TCompress component package is ideal for anyone who wants simple, straightforward, compression."
Extract from the TCompress and TCompLHA review at

"...we were quite frankly amazed with not only the speed, but the compression ratios achieved... To say the least, for ease of use, speed, reliability, functionality, and robustness of implementation, these components are simply outstanding!"
Extract from the TCompress and TCompLHA review by The Think Tank.

"Trouble free, big in, little out tool, love it to bits. Easy to use, rapid response to Delphi changes, what more could I ask? I rarely use anyone else's components but this is one I wouldn't be without."
Gordon Whittam (GWhit41980 @

"Once again, thanks for your prompt assistance. Your company's level of support is way above what I have come to expect from the industry!"
Tim at UFO Systems, Australia

"We've really been using this component of yours everywhere!!! It's great, but I still haven't figured out how to get it compress the caffeine in my coffee :)."
Richard at Computer Consulting Group (ccg @

"It took me less than a day to implement your TCompress in a dll that's backwards API compatible with our old library. It is a god-given control! (my P120-NT-box made an overnight compression burn-in test. I stopped it this morning with 15731 successfull compression iterations).... (far better than my good old compress.dll and PK libraries)."
Bob Heida (bobtsf @

"TCompress is the first component I've found that does what I want it to... and more. I didn't realize you could compress image and memo fields — that's also a huge advantage for the program I'm working on."
Mike Yui, Queens University (3mry @

"Classy stuff! Well-designed, intuitive. I was able to use it without a glance at any help or instructions."
Lou Garner (lou.garner @

"It works! And where the previous component took 2.5 seconds to compress a 10K bitmap, TCompress is instantaneous!"
Jon Robertson (touri @

"I appreciate your support... the product I had to get ready for Comdex is PictureAlbum for Windows (made for Mediaminds Inc)...

"...TCompress continues to perform well for me. I have included it in Projector for Windows v4.1, — a windows screen saver that uses a powerful image engine for the front end and a database for the backend. Each database is actually 3 files, the database file, a memo file which contains the image blobs, and an index.
"I use TCompress to archive these files together, so that the user need not be bothered with tracking several files. The database file, which is basically an index, is highly compressible with LZH. One of the things I point out to customers is that my archive files can actually GROW if you try to 'zip' them."
Bruce Nunnally (nunnally @ )

We Highly Recommend:

Webhub Site Automation Components.
If you're making interactive or database-driven sites, look no further. Webhub has unmatched power, performance and scalability in the site development world.

StreamCatcher, the IIS URL-filtering and translation utility. Ideal for simple and highly- automated sites alike, excellent robot handling, extremely efficient and versatile. You won't realise how much you needed it until you have it.

IIS Backup - the perfect IIS metafile backup and replication utility. Never again lose track of your important IIS settings. Free 30-day trial available.

Have you downloaded TurboNote+, the shareware version of our award-winning onscreen sticky notes and instant messaging program? Great for developers, great for offices, great for remembering tidbits of information. Or try the freeware version at

Web solutions . Smart software . Quality graphics