Native decompression of LZMA stream

Feb 16, 2010 at 1:22 AM

Is it possible to decompress an LZMA stream using the native 7z.dll? The 7-zip program is able to do this.

Feb 16, 2010 at 1:43 AM

I solved my own problem. By using the 7z.dll included with 7-zip 9.10 beta instead of the one included with SevenZipSharp I am able to extract LZMA using the native method.

Feb 18, 2010 at 12:25 AM

Upon further analysis, the problem is actually caused by using a non-default dictionary size when compressing the LZMA stream. The dictionary size does not appear to be required when decompressing though, because I can modify the header of the stream and it will decompress successfully. Any ideas on a fix or workaround for this problem that doesn't require me to modify the header?