#1 2013-07-11 12:56:33

Daniel_Andrascik
Member
Registered: 2013-07-11
Posts: 9

SynZip - standalone minimal units

Hello.

Sorry for my poor English.

I try extract only SynZip functionality from your great mORMot framework. Only for Zip/Unzip purpose is neded these units:

- Synopse.inc
- SynCommons.pas
- SynLZ.pas
- SynZip.pas
- SynZipFiles.pas
- deflate.obj, tree.obj
- SynCrypto.pas

But i think that SynCrypto is not needed now. If i remove SynCrypto from SynZipFiles ewerything seems work done.

Offline

#2 2013-07-11 14:19:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,550
Website

Re: SynZip - standalone minimal units

AFAIK unit SynZip.pas only needs deflate.obj, tree.obj.

But SynZipFiles.pas expects SynCommons.pas to be available, so Synopse.inc and SynLZ.pas are needed.

SynCrypto is not needed IMHO.
I've removed uneeded reference to SynCrypto unit in uses clause - see http://synopse.info/fossil/info/4e2436b08e

Thanks for the interest and report.

Offline

#3 2013-07-11 15:53:20

Daniel_Andrascik
Member
Registered: 2013-07-11
Posts: 9

Re: SynZip - standalone minimal units

My pleasure

Offline

Board footer

Powered by FluxBB