i need to extract into memory some files from compressed archives and i've implemented a little procedure extracting the single files with ExtractFile of SevenZipExtractor. This function works right with all the formats i use (ZIP, RAR, 7z) but of course
the last format is slow because for each file it seek the entire archive. So i've used ExtractFiles with the Callback function but this works all right only with Zip and Rar files, with 7z it reads correctly the files inside the archive but the callback function
is never called. I've tried to create a .7z file by myself, compiling in 32 or 64 bit mode (in 32 bit i use your custom dll, in 64 the dll installed by the 7z installer in Windows).
Any idea if i've to set any property before calling ExtractFiles?
the code is this
// the extractor
extractor = new SevenZip.SevenZipExtractor(archiveFilename);
// the buffer inside the loader class declared as property
ms = new MemoryStream();
bs = new BufferedStream(ms);
// the callback function is a function inside the loader class
the callback is create as
extractCallback = new SevenZip.ExtractFileCallback(this.ExtractFileCallback);
private void ExtractFileCallback(SevenZip.ExtractFileCallbackArgs args)