weltkante / managed-lzma

C# implementation of LZMA and 7zip
MIT License
140 stars 22 forks source link

Not able compile the current project. #2

Closed szmulder closed 9 years ago

szmulder commented 9 years ago

The line "writer.InitializeLzma2Encoder();" not able compiled.

I change it to "writer.ConnectEncoder(new ArchiveWriter.Lzma2Encoder(1, null));" then works fine.

weltkante commented 9 years ago

Right thanks, that's in one of the sample/test projects, not in the actual library, will be fixed.

weltkante commented 9 years ago

With the fix the sample compiles but doesn't terminate anymore (at least for me), there are 3 hanging threads waiting for further instructions, I've opened issue #4 for that because I'm not sure if thats a bug or if the fix was just wrong; in particular the fix for this issue doesn't dispose the Lzma2Encoder.