Quantcast
Channel: sevenzipsharp Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 195

Created Issue: SevenZipExtractor.ExtractFile [11782]

$
0
0
>The execution has failed due to the bug in the SevenZipSharp.

>Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.


```
SevenZipExtractor.SetLibraryPath(Path.Combine(
@"C:\dll",
"7z.dll"));

var buffer = new byte[] {};
using (var extractor = new SevenZipExtractor(handleDownloadedFile))
{
extractor.ExtractFile(
"handle.exe",
new MemoryStream(buffer, true));
}
```


My archive is the Handle.zip archive downloaded from "http://download.sysinternals.com/files/Handle.zip"


If I use a FileStream instead of a MemoryStream It passes the extraction but I get a Win32Exception later when I try to use the extracted file:
>"The process cannot access the file because it is being used by another process"

Viewing all articles
Browse latest Browse all 195

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>