>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"
>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"