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

前端 未结 8 1132
悲哀的现实
悲哀的现实 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:49

    I'm surprised no-one has mentioned JclCompression yet - it's part of the well-known Jedi Code Library (JCL). Here's a view of the unit itself : http://jcl.svn.sourceforge.net/viewvc/jcl/trunk/jcl/source/common/JclCompression.pas?view=markup

    Note, it's compatible with 7-zip DLL version 4.64 - newer versions might not be backwards-compatible...

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

    There are infozips zip32 and unzip32 dlls. They can be used from Delphi (even from Visual Basic), there are interface units/modules for both. The interface isn't as good as I would have liked it, but it works.

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