New Post: 7z extraction problem
Sorry, I haven't had time to look at why this is happening. My guess is an implement 7zip header implementation that I did. I have a new one in a branch but no time to fully test. In short, LZMA2 ought...
View ArticleNew Post: Compiling from source
Ok thanks, how do I use/compile the unit test? Is this for the DLL version?
View ArticleNew Post: Compiling from source
err.. anyone would like to share a simple working example? :-)
View ArticleNew Post: Compiling from source
There are basic example snippets here: https://sharpcompress.codeplex.com/wikipage?title=Composite%20API%20Examples&referringTitle=Documentation The unit tests use MSTest through Visual Studio. How...
View ArticleNew Post: Compiling from source
Thanks Adam, I'm currently using VC2010 express so I don't think I have the MSTest tool. Maybe a full .cs file and references? I'm trying to build it to an executable.. BTW, do I need to use [DLLImport...
View ArticleNew Post: Compiling from source
sharpcompress is C#/.NET DllImport is for native code. You should just reference the sharpcompress DLL like any other C# DLL, add some using statements then try some of the sample code. You seem very...
View ArticleNew Post: Compiling from source
Wow, finally got one sample working using this using heading:using System; using System.IO; using SharpCompress.Common; using SharpCompress.Reader; Thanks again!
View ArticleNew Post: Sample for LzmaStream
Hi, I try to create LzmaStream compressor by using this: ms.WriteByte(9); ms.WriteByte(20); ms.WriteByte(5); ms.WriteByte(0); LzmaStream lzmaStream = new LzmaStream(new...
View ArticleNew Post: Sample for LzmaStream
Sorry, the only sample is what's in the code. I'm not an expert on LzmaStream as it was a contribution. Please dig into the code as see if you can find more about it's usage.
View ArticleNew Post: InvalidFormatException not releasing file
Came across this when I ran into a rar file that threw the InvalidFormatException "Invalid Rar Header" (RarHeaderFactory.cs line 195). If it runs into this error, then I want to move the file to...
View ArticleNew Post: InvalidFormatException not releasing file
I think the problem is with IsComplete. I think you're assessment of the disposing is correct. You have to manage your own streams if you give them to SharpCompress as well as use using blocks...
View ArticleNew Post: Extracting from non solid archive
hi all, can someone please show me how i extract files from a non solid rar archive? I've tested the file using IsSolid, and its returning false, but i then can't figure out how to extract entries from...
View ArticleNew Post: Extracting from non solid archive
What code are you using to try to extract from the archive?
View ArticleNew Post: Extracting from non solid archive
This is the code i'm using for writing the file for solid archives. it is giving me the error for non solid archives when it reaches the last file. Plus I don't think that it is extracting the files...
View ArticleNew Post: Extracting from non solid archive
Sorry, VB.NET is hard for me to read :/ What is the exception that is thrown?
View ArticleNew Post: Extracting from non solid archive
The exception is {"Object reference not set to an instance of an object."} and it only seems to occur when at the end of the archive i.e. the last file i'm thinking that this extraction should just be...
View ArticleNew Post: Extracting from non solid archive
Is there a full stack trace? The basic samples are on the doc wiki page: https://sharpcompress.codeplex.com/wikipage?title=Composite%20API%20Examples&referringTitle=Documentation The unit tests...
View ArticleNew Post: Can you read entries concurrently?
Hi, I was trying to read entries concurrently and then save the output as a file, however the output image is corrupted. private async Task<string> SaveFileAsyncReadingSync(Stream streamSource,...
View ArticleNew Post: WP8 NotSupportedException during ArchiveFactory.Open
I love this library. So simple to use. I'm using it to decompress images from a cbr file (rar file for comic book images). It works fine! But I do get a NotSupportedException in debug everytime I run...
View ArticleNew Post: WP8 NotSupportedException during ArchiveFactory.Open
There are some features that aren't in the portable version. Can you show me a complete stacktrace?
View Article