In our previous episode, Bo Berglund said: > over to FPC on the RPi and compile there. > So I need a zipper that can be used in both ends and since D2007 does > not come with one built in but FPC does (paszlib), I figured I could > copy the src dir from FPC over to Delphi and use that to compress my > files.
paszlib was originally a TP/D1 package that was afaik somewhat adapted to 32-bit delphi too. FPC integrated this package about 15 years, and compatibility with other compilers is not guaranteed. The units are compiled in FPC mode, not even in TP or Delphi mode. > Also: which files are needed? It looks like the paszlib src dir has a > subdir too with most of the files, is this necessary? I would look for a ZIP codebase based on top of the zlib stream (TCompressionstream) interfaces. These exist both in Delphi and FPC. 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. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal