You are not logged in.
Pages: 1
hi, thank you very much, synzip is very good
i used:
ZipFileWrite:=TZipWrite.Create('myzipfile.zip');
ZipFileWrite.AddDeflated('file1.bmp',True,6);
ZipFileWrite.AddDeflated('file2.bmp',True,6);
ZipFileWrite.Free;
to extract the file:
ZipFileRead:=TZipRead.Create('myzipfile.zip');
a:=0;
b:=ZipFileRead.Count;
while a<b do begin
ZipFileRead.UnZip(a,'c:\mydir');
a:=a+1;
end;
ZipFileRead.Free;
is this the correct code to create the file zip? The code works,
the unit is very good, i was trying to use only the default Delphi
components for the game, or also small dll, so if i can release the
source it's easy to compile with delphi 6 or delphi 7.
hi, the unit is very good i was looking for a zip compress unit but the example is very good
also i wanted to ask:
lzopas_compressfile('myfile.bmp','myfile.dat',nil,nil,nil);
i used this code to compress the file, it's possible to use a different compression level?
i dont know what to use for the argoment of methodComp so i used 'nil,nil,nil' for the arguments
anyway the compression is very good, the bitmap file was 1.37 mb and now it's 190kb
Pages: 1