English 中文(简体)
是否将文件添加到ZIP存档?
原标题:Add files to a ZIP archive?

可以使用什么组件或方法来指定文件名列表,然后将它们压缩到单个存档中?

我真的不需要高级功能或任何东西,但如果我能在字符串列表中添加一些文件名,然后将这些文件放入ZIP中,那就太好了。

我试着搜索了一些组件,但不确定该用哪一个。

谢谢

最佳回答

除了Chris提到的VCLZip之外,Abbrevia(旧的TurboPower软件包之一)在SourceForge上免费提供。如果您需要Delphi 2010/XE版本,您可以在SongBeamer

问题回答

VCLZip不错,相当受欢迎http://vclzip.bizland.com/IIRC,它有很好的文档和示例,可以让您快速入门。

我有时使用ZipMaster,它运行良好。

当做





相关问题
determining the character set to use

my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta ...

Help with strange Delphi 5 IDE problems

Ok, I m going nuts here. For the last (almost) four years, I ve been putting up with some extremely bad behavior from my Delphi 5 IDE. Problems include: Seemingly random errors in coride50.bpl ...

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How convert string to integer in Oxygene

In Delphi, there is a function StrToInt() that converts a string to an integer value; there is also IntToStr(), which does the reverse. These functions doesn t appear to be part of Oxygene, and I can ...

Quick padding of a string in Delphi

I was trying to speed up a certain routine in an application, and my profiler, AQTime, identified one method in particular as a bottleneck. The method has been with us for years, and is part of a "...