[delphizip] AddCompLevel

  • From: Vincent MORIAUX <vmoriaux@xxxxxxxxxx>
  • To: delphizip@xxxxxxxxxxxxx
  • Date: Wed, 05 Nov 2008 12:22:04 +0100

Hello,

I'm using TZipMaster from a thread. My problem is that the created ZIP 
file is not compressed regardless what I use for AddCompLevel.
I use DLL v1.79

Here is my thread body:

zm := TZipMaster.Create(NIL);
zm.OnMessage            := ZipMessage;
zm.OnProgress            := ZipProgress;
zm.OnCheckTerminate := ZipCheckTerminate;
zm.NotMainThread       := TRUE;
zm.Unattended             := TRUE;
zm.AddOptions             := [AddHiddenFiles, AddDirNames];

zm.AddCompLevel  := 9;
zm.ZipFileName := dstPath + dstID;
zm.FSpecArgs.Assign(Sources);

zm.Dll_Load := TRUE;
if (zm.Dll_Load = TRUE) then
    theResult := zm.Add();
zm.Free();



Thanks
-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: