How do I compress multiple files into a single archive with Delphi

前端 未结 8 1131
悲哀的现实
悲哀的现实 2020-12-28 21:31

I need to compress multiple files into a single archive using Delphi. I\'d prefer to use freeware components or open-source components because I am very very cheap :-)

相关标签:
8条回答
  • 2020-12-28 21:32

    I recommend the $69 ZipForge from ComponentAce.

    0 讨论(0)
  • 2020-12-28 21:32

    Another Delphi resource to look at would be InnoSetup. The source code is available and with a little work might give you an edge up on what your trying to do. There is an option to create self extracting zip archives which are compatible with WinZip,

    My thoughts are not to use the program, but to use his source as a starting point since it is very heavily tested and extremely solid.

    0 讨论(0)
  • 2020-12-28 21:34

    You could use 7zip (LZMA) bindings for Pascal (compatible with Delphi): http://www.birtles.org.uk/programming/

    0 讨论(0)
  • 2020-12-28 21:36

    Perhaps DelphiZip is what you are looking for, it seems to support encryption, too, and is WinZip compatible. It is released under LGPL.

    0 讨论(0)
  • 2020-12-28 21:36

    KaZip is an open-source ZIP archiver. Here is its description:

    KAZIP is fast, simple ZIP archiver and dearchiver which uses most popular ZIP format.Inflate - Deflate zip compression format (no encryption support and no multidisk support).KAZip is totaly based on Delphi VCL - no DLL, ActiveX or other external libraries.KAZip is totaly stream oriented so you can deal with data only in memory without creating temporary files, etc. If you need to add zip-unzip functionality to your application,KAZIP is the right solution. Additional ZipListView and ZipTreeView components for easy visualisation.Functionality:Zip-Unzip using Inflate-DeflateBZip2 unzipping trough usage of BZIP2 units from Edison Mera Menndez.Functions:Adding Files, Folders, Streams; Selecting, Deselecting, Checking;Extracting to files and streams;Delete and Rename filesCreate, Delete and Rename foldersTest, RepairMany new properties and methods, improved speed.A very complex Zip Browser demo application is included

    It is not compatible with Delphi 2009 yet, but with some minor changes in the source code, you can make it work in Delphi 2009 too. Actually, that's what I did.

    Regards

    0 讨论(0)
  • 2020-12-28 21:39

    I`m using madZip from madCollection

    0 讨论(0)
提交回复
热议问题