Delphi compilers with support for the
inline directive (starting with Delphi 2005) failed to compile DIZipWriter *.bpl packages for the Demo and Commercial editions. They generated a “[dcc32 Fatal Error] DIUtils: F2051 Unit DIContainers was compiled with a different version of DIUtils.StrSameIW”. Regular *.exe applications compiled without problems. The DIZipWriter Source Code also compiled to both *.bpl packages and *.exe applications with no problems.
TYuBZip2Compressorcompression engine to bzip2 1.0.8.
DI.incinclude file. Directly link in
TDIZipWriteralways descend from
TComponent. Source code only.
DI_No_Classescompiler directive. The
Classesunit is always used. Source code only.
DI_No_Range_Checkingcompiler directive to
DIC_Unsafe. Source code only.
TYuLzmaCompressorsets end of stream flag as required by recent versions of 7-Zip.
TYuStoreCompressor: No compression, but extremely fast.
TYuDeflateCompressor: The ZIP default. Fast, average compression ratio.
TYuBZip2Compressor: Somewhat slower but better compression ratio.
TYuLzmaCompressor: Slow and memory demanding but excellent compression ratio.
TDIWriter.Writecaused ZIP archives to be written incorrectly. Fixed.
TDIZipWriter.DataTypeproperty allows to determine the data type attribute for each ZIP entry. The options are
dtUnknown. For the latter,
TDIZipWriterdetermines the data type automatically. This new property was explicitly requested by some users who found that certain ZIP software apparently unzips differently depending on the data type.
OffSetparameter which specifies the final position of the Zip archive within the output file or stream. While
Offsetis usually zero, it might differ when appending a Zip archive to a SFX stub in order to create self extracting Zip archvies. There are SFX stubs freely available on the Internet.
NewZipFilenow raises an exception just as any other new .zip file which can not be created.