Does not work

Mar 24, 2009 at 1:05 PM
Edited Mar 24, 2009 at 1:05 PM
Hi, the idea for your library seems good, but the library does work at all for me.

var extractor = new SevenZip.SevenZipExtractor(path);
extractor.Check();

Throws "empty password" for all archives.

var extractor = new SevenZip.SevenZipExtractor(path);
extractor.ExtractArchive(dir);

SevenZipExtractor.ExtractArchive fails "for unknown reason with code -2147467261" for 7z and zip archives, but not for rar.

Also, it would be good if you recorded in the documentation default values in function overloads, such as the SevenZipExtractor constructor.

Mar 24, 2009 at 1:22 PM
I should note that I am using release 0.33, running on Vista Ultimate x86.
Coordinator
Mar 24, 2009 at 8:08 PM
Edited Mar 24, 2009 at 8:46 PM
extractor.Check() is my fault, i fixed it.
But the second issue is very interesting (it works ok for me on Vista HP SP1 x86). You see, the architecture of the library is format-independent. Thanks anyway. If you can, please upload your 7z or zip archive (which the error occurs with) to the Issue Tracker.
The latest version is obtainable via SVN.
Coordinator
Mar 25, 2009 at 11:55 AM
This nasty bug has been fixed in the 0.34 release.
Mar 25, 2009 at 2:27 PM
Awesome. I could not find any more problems. Thanks for the fast response.

Replacing Cake3 with SevenZipSharp in my own project now.