[fpc-pascal] Using paszlib from fpc 3.0 with fpc and delphi 2007?

Bo Berglund bo.berglund at gmail.com
Wed May 25 14:24:34 CEST 2016


On Wed, 25 May 2016 12:59:34 +0200 (CEST),
marcov at stack.nl (Marco van de Voort) wrote:

>I would look for a ZIP codebase based on top of the zlib stream
>(TCompressionstream) interfaces.
>
>These exist both in Delphi and FPC.

I checked in the D2007 help and it did show the TCompressionstream
class so it does exist in my Delph version.

Next is trying to find a zipper based on that, I guess...
When I google the first hit points to paszlib, so I am in a circle
here. Paszlib wiki doc pages state that paszlib is used for
TCompressionstream...
http://wiki.lazarus.freepascal.org/paszlib  (second line)

>If you don't need the archiving aspect (multiple files into one), and only
>the compression, consider using gzip instead of ZIP, since it opens with
>fairly general tools like winzip, and TCompressionStream is enough.

Well, the system I am working on collects data from a measuring
instrument and saves the binary data (a memory image from the
instrument) onto several types of bin files. Then it also converts the
data to corresponding ASCII text files. Finally it is all stuffed into
a single zipfile for transmission.
SoI need multiple files into one just like WinZip provides. Except
done in my code.


-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list