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

前端 未结 8 1208
悲哀的现实
悲哀的现实 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...

提交回复
热议问题