VCLZip Native Delphi Zip/UnZip Component!
(VCLZip Lite: Version 2.23 April 14th, 2002)
(VCLZip Pro: Version 3.04 Buid 1 - December 30th, 2003)
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.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 OnEncrypt and OnDecrypt events. These allow you to replace the standard pkzip encryption with your own. Data is passed to these events a buffer at a time. Use this with care as this is still somewhat experimental and I'm not sure how useful it is yet. You must make all changes within the buffer sent in to you. Treat the entire file as a stream. Byte for byte replacement only. No additional keys can be saved.
Added OnRecursingFile event. Sometimes when using wildcards and recurs
没有合适的资源?快使用搜索试试~ 我知道了~
VCLZip编写控件 DELPHI7
共78个文件
pas:27个
obj:18个
dcu:14个
4星 · 超过85%的资源 需积分: 18 77 下载量 149 浏览量
2010-04-20
09:42:10
上传
评论 1
收藏 646KB RAR 举报
温馨提示
his software (VCLZip/VCLUnZip) is provided on an "as is" basis without warranty of any kind, expressed or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. The person using the software bears all risk as to the quality and performance of the software. The author will not be liable for any special, incidental, consequential, indirect or similar damages due to loss of data or any other reason, even if the author or an agent of the author has been advised of the possibility of such damages. In no event shall the author's liability for any damages ever exceed the price paid for the license to use the software, regardless of the form of the claim.
资源推荐
资源详情
资源评论
收起资源包目录
VCLZip.rar (78个子文件)
VCLZip
kpDiskIOs.dcu 979B
VCLUnZip.dcu 150KB
VCLZip.dcu 65KB
KpSmall.pas 4KB
kpDiskIOWin9x.pas 14KB
SFX
kpMatch.pas 11KB
kpUnrdc.Pas 7KB
kpUshrnk.Pas 6KB
kpZipObj.pas 63KB
VCLZip.hlp 346KB
kpMatch.dcu 5KB
kpSFXCfg.dcu 4KB
kpFile.Pas 9KB
INFCODES.OBJ 4KB
kpZTypes.Pas 4KB
kpTREES.PAS 34KB
kpDiskIOs.pas 6KB
kpInflt.Pas 15KB
VCLZipD7_3.cfg 438B
ADLER32.OBJ 592B
kpUnzipp.Pas 44KB
VCLZip.dcr 468B
kpDFLT.PAS 23KB
Kpzcnst.pas 2KB
kpCntn.pas 35KB
TREES.OBJ 12KB
JEDI.INC 15KB
VCLZip.cnt 5KB
disclaim.txt 740B
kpSFXOpt.pas 4KB
VCLZipD7_3.dcu 4KB
kpBITS.PAS 7KB
INFUTIL.OBJ 2KB
kpZipObj.dcu 42KB
Kpzcnst.rc 2KB
KPZCNST.RES 2KB
INFLATE.OBJ 3KB
VCLZipD7_3.dpk 1009B
KPLib.dcu 19KB
VCLZip.GID 30KB
VCLZipHelp.rtf 534KB
kpSStrm.pas 12KB
kpSHuge.pas 11KB
install.txt 1KB
kpSStrm.dcu 6KB
DEFLATE.OBJ 7KB
kpSConst.pas 1KB
kpSHuge.dcu 767B
kpCntn.dcu 19KB
VCLUnZip.dcr 472B
kpSFXCfg.dcr 476B
INFTREES.OBJ 8KB
KpSmall.dcu 2KB
VCLZipD7_3.dof 2KB
VCLZipHelp.hpj 14KB
INFFAST.OBJ 2KB
Kpzcnst.dcu 1KB
KPLib.pas 43KB
INFBLOCK.OBJ 5KB
VCLZip.pas 116KB
kphstrms.pas 15KB
kpSFXCfg.pas 7KB
kpZConst.Pas 10KB
kpExpld.Pas 17KB
readme.txt 37KB
VCLUnZip.pas 99KB
VCLZipD7_3.res 2KB
kpDefs.inc 2KB
kpDiskIOWin9x.dcu 5KB
zlib122
crc32.obj 11KB
adler32.obj 652B
compress.obj 554B
inffast.obj 2KB
infback.obj 7KB
trees.obj 13KB
inftrees.obj 2KB
inflate.obj 11KB
deflate.obj 10KB
共 78 条
- 1
资源评论
- twttmnny2013-02-07这是Delphi VCLZip控件,名字给的有点不明确,但好用,谢谢。
- 余梦生fighting2013-11-11因为delphi版本问题么?报了好多错
- oloveuxyz2013-06-09嘿嘿,可以正常使用!谢谢
- 刘浩淼2014-11-21这是Delphi VCLZip控件,名字给的有点不明确,但好用,谢谢。
lihuansun
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功