zedalaye / d7zip

A Delphi Wrapper around 7zip.dll
62 stars 43 forks source link

T7zBatchItem Size property type not sufficient for large archives #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
An error occurs when working with large archives. The Cardinal type for the 
stream size is not sufficient, Int64 fixes the problem.

var
  Arch: I7zOutArchive;
Arch := CreateOutArchive(CLSID_CFormat7z);
Arch.AddStream(aStream, soReference, faArchive, CurrentFileTime, 
CurrentFileTime, 'folder\test.bin', false, false);
-> error when aStream.Size > 4 GB

Original issue reported on code.google.com by vaclav.t...@gmail.com on 10 Jan 2011 at 10:30