VCLZip Native Delphi Zip/UnZip Component!
(VCLZip Lite: Version 2.23 April 14th, 2002)
(VCLZip Pro: Version 3.10 Buid 1 - November 25th, 2007)
IMPORTANT: If installing the registered version, please be sure to always re-install/rebuild the components (VCLZip and VCLUnZip) to the component pallette (or rebuild the design time package) so that the ThisVersion property and any other new properties will be properly updated. If your application still does not run without the IDE, open up VCLZip's package, click on options and look at the Directories/Conditionals tab. If KPDEMO is defined, remove it and recompile the package.
***IMPORTANT: Please remember do not install these components into a package by the name of either VCLZip or VCLUnZip. You will receive an error if you do.
PLEASE TAKE A LOOK AT THE "WHAT's NEW IN THIS VERSION" LINK IN THE HELP FILE AS IT HAS CONVENIENT LINKS TO ALL OF THE NEW TOPICS.
====================
Version 3.10 Build 1
- Several bug fixes.
- Added support for Delphi 2006, 2007
- Added support for BCB 2006, 2007
- Improved memory performance when working with archives containing extremely high number of compressed files.
====================
Version 3.06 Build 2
Made Delphi 2005 compatible
Other assorted fixes
====================
Version 3.05 Build 1
Fixed a lot of incompatabilities between VCLZip and WinZip
Other assorted fixes
====================
Version 3.04 Build 1
New ZLib methods for optimized compression and decompression of single entities of data in standard ZLib format, without the overhead of the PKZip format. This is excellent for compression of data to be sent across the net, compressing web pages (http compliant compression), blobs, etc.
- ZLibCompressStream
- ZLibDecompressStream
- ZLibCompressBuffer
- ZLibDecompressBuffer
- ZLibCompressString
- ZLibDecompressString
Overloaded TStream Methods for Delphi 4,5, BCB 4, and 5
- UnZipToStream
- UnZipToStreamByIndex
- ZipFromStream
Special OnGetNextTStream Event for Delphi 4,5, BCB 4, and 5
- Allows zipping multiple TStreams in one process
- More efficient than calling ZipFromStream multiple times
Capability to use the latest version of ZLib 1.2.1.
- VCLZip currently uses 1.4.1 by default.
- By defining ZLIB121, VCLZip will use the latest version of ZLib which is included with the registered version.
Some optimization improvements which should show some improvement in zipping and unzipping speed when using TkpStreams with D4, D5, BCB4, and BCB5.
============
Version 3.03 (VCLZip Pro)
- Please test your application thoroughly with this new version of VCLZip Pro. While it has been tested and has even been used in at least two production applications for several months now prior to initial release, there are so many combinations of property settings, environment differences, and ways to use VCLZip that you should always test VCLZip completely in your application before deploying.
*** New Zip64 capabilities, properties, methods and events:
- Uncompressed, Compressed, and Archive file sizes can be up to 2^63-1 bytes in length.
- You can compress up to 2147483647 files into an archive. This is compatible with PKZip's Zip64 format.
- If a file does not extend beyond any of the original limitations (filesizes of 4 gig or 65535 files) then no Zip64 format information is included in the archive.
- property isZip64 - tells you when you are working with a zip file that is using Zip64 format.
Much faster processing due to linking to Zlib object files for compression and decompression routines.
Blocked Zip Files (spanned zip archives split onto hard drive)
- Now completely compatible with PKZip and WinZip split archives file naming format.
- For backwards compatability you can tell VCLZip to use the old VCLZip filenaming format by using the BlockMode property.
- New method OnFileNameForSplitPart called just before each split filepart is created. VCLZip supplies a default implementation of this method so for most purposes you won't need your own.
- method DefaultFileNameForSplitPart - VCLZip calls this internally if you don't define your own OnFileNameForSplitPart. You can also call it from your own OnFileNameForSplitPart if you wish to add some processing to the default behavior.
- property BlockMode - determines whether VCLZip uses PKZip/WinZip standard naming convention or VCLZip classic method.
- method DefaultGetNextDisk - VCLZip calls this internally if you don't define your own OnGetNextDisk. You can also call it from your own OnGetNextDisk event if you wish to add some processing to the default behavior.
- Properties for controlling which files are zipped...
- IncludeHiddenFiles - default False;
- IncludeSysFiles: - default False;
- IncludeReadOnlyFiles: - default True;
- IncludeArchiveFiles: - default True;
- Event OnGetNextStream - Allows you to zip from multiple streams when using the ZipFromStream method. This improves performance since repeated calls to ZipFromStream causes the archive to be updated on each subsequent call.
- property ThisBuild - Tells you the current build. See also ThisVersion
- property OnHandleMessage - Handles interactive messages with VCLZip. There is a default, so you don't need to define your own unless you wish to eliminate interactive messages and handle them on your own. This is helpful if you are using VCLZip as a service or on a webserver for instance.
******** Upgrading existing applications that use VCLZip 2.X **********
For the most part, existing applications will work as-is. Just install VCLZip 3.X and recompile your code. Here are some things to be aware of though...
1) If your app currently creates mmBlock archives (spanned directly to hard drive) and you define your own OnGetNextDisk in VCLZip 2.X, you should move your code from this event that handles mmBlock events to the new event OnFileNameForSplitPart. However, if you simply rely on VCLZip's default OnGetNextDisk then you don't have to worry about this.
2) If your app creates mmBlock archives, the default naming convention has changed to match the PKZip/WinZip standard. If you wish to keep the same naming convention then set BlockMode := mbClassic.
3) OnGetNextDisk and OnPrepareNextDisk events are called for the 1st disk now. VCLZip 2.X only calls these events starting with the 2nd disk.
4) properties CompressedSize[Index], UncompressedSize[Index], ZipSize are now Int64 types.
5) Delphi 4, Delphi 5, BCB 4, and BCB5 are all capable of using the Zip64 format. However they use the TkpHugeStream decendants which act just like TStreams except they handle files/stream sizes larger than 2gig. There is a TkpHugeFileStream and a TkpHugeMemoryStream which should handle 99% of all necessary actions. If you currently work with VCLZip 2.X with TBlobStreams or some other type of streams, you can either define your own TkpBlobStream for instance which inherits from TkpHugeStream, or use the TkpHugeStream.CopyFrom(TStream, Count) and the TkpHugeStream.GetStream: TStream methods to give VCLZip your stream and get it back. Ofcourse when using regular TStream decendants in D4,4,BCB4,and 5, you cannot create Zip64 archives. If you use Delphi 6, 7, or BCB 6, you don't have to worry about any of this as the normal TSTream is used by VCLZip and handles large file/stream sizes.
============
Version 2.23 (VCLZip Lite)
Added the OEMConvert property. Filenames stored in a PKZip compatible archive normally go through an OEM conversion to make them ascii compatible. When opening the zip file the conversion is undone. If you do not plan on having other zip utilities opening up your archives this conversion process is not really necessary. Setting this property to False will eliminate this process. The default value for this property is True for normal PKZip compatability.
Added OnEncry
没有合适的资源?快使用搜索试试~ 我知道了~
delphi编程zip控件
共96个文件
pas:27个
dcu:16个
res:13个
需积分: 10 7 下载量 71 浏览量
2012-12-06
12:08:17
上传
评论
收藏 673KB RAR 举报
温馨提示
压缩解压缩,对压缩文件通过代码进行直接操作,当然只是zip压缩文件了,很好用。
资源推荐
资源详情
资源评论
收起资源包目录
VCLZip Pro v3.04.CR.for.Delphi67.rar (96个子文件)
VCLZip Pro v3.04.CR.for.Delphi67
kpMatch.pas 11KB
kpZTypes.Pas 5KB
VCLZipD2006_3.res 5KB
kpDFLT.PAS 23KB
KPLib.dcu 19KB
kpSFXCfg.dcr 476B
VCLZipD7_3.dpk 1009B
kpSStrm.pas 12KB
VCLZipBCB5_3.cpp 833B
kpUshrnk.Pas 7KB
VCLZipHelp.hpj 14KB
kpCntn.pas 35KB
Kpzcnst.rc 2KB
Kpzcnst.pas 2KB
KpSmall.dcu 2KB
VCLUnZip.dcr 472B
kpTREES.PAS 34KB
VCLZipBCB6_3.res 2KB
VCLZipBCB4_3.cpp 809B
Kpzcnst.dcu 1KB
kpSFXCfg.dcu 4KB
kpDefs.inc 2KB
kpZipObj.dcu 42KB
kpMatch.dcu 5KB
VCLZipBCB2006_3.res 5KB
kpSFXCfg.pas 7KB
KpSmall.pas 4KB
VCLZipBCB2006_3.cpp 522B
BCB2007_3.res 5KB
kpSHuge.dcu 759B
VCLZipBCB2007_3.cbproj 11KB
zlib123
inftrees.obj 2KB
trees.obj 11KB
crc32.obj 11KB
deflate.obj 9KB
compress.obj 559B
adler32.obj 1KB
inflate.obj 11KB
infback.obj 7KB
inffast.obj 2KB
kpSConst.pas 1KB
VCLZipBCB6_3.cpp 528B
VCLZip.dcu 56KB
VCLZipD5_3.dcu 4KB
kpUnrdc.Pas 7KB
VCLZipD2005_3.res 1KB
kpZipObj.pas 63KB
VCLZip.pas 117KB
SFX
sfx32pro.bin 40KB
kpDiskIOWin9x.pas 14KB
VCLZip.dcr 468B
VCLZipBCB5_3.res 2KB
kphstrms.dcu 11KB
kpSFXOpt.pas 4KB
VCLZipBCB2006_3.bdsproj 20KB
kpDiskIOs.pas 6KB
VCLUnZip.pas 98KB
VCLZipD7_3.dcu 4KB
kpBITS.PAS 7KB
VCLZipD2005_3.dpk 681B
kpDiskIOs.dcu 861B
VCLUnZip.dcu 144KB
disclaim.txt 740B
VCLZIpBCB2007_3.cpp 522B
kpFile.Pas 9KB
VCLZipBCB5_3.bpk 2KB
kpSHuge.pas 11KB
VCLZipD2007_3.dpk 698B
VCLZipD4_3.res 2KB
VCLZipD7_3.res 2KB
kpUnzipp.Pas 44KB
VCLZipD4_3.dpk 1KB
JEDI.INC 15KB
VCLZip.hlp 346KB
TREES.OBJ 12KB
kphstrms.pas 15KB
VCLZip.cnt 5KB
kpExpld.Pas 17KB
VCLZipD6_3.res 2KB
kpZConst.Pas 10KB
kpCntn.dcu 19KB
VCLZipD2006_3.dpk 681B
kpDiskIOWin9x.dcu 4KB
KPZCNST.RES 2KB
VCLZipBCB4_3.res 2KB
readme.txt 38KB
VCLZipD2007_3.res 6KB
VCLZipD6_3.dpk 1009B
kpSStrm.dcu 6KB
VCLZipBCB4_3.bpk 5KB
VCLZipHelp.rtf 534KB
KPLib.pas 43KB
VCLZipBCB6_3.bpk 5KB
VCLZipD5_3.res 2KB
kpInflt.Pas 15KB
VCLZipD5_3.dpk 1KB
共 96 条
- 1
资源评论
leo_e
- 粉丝: 1
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功