<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sevenzipsharp Discussions Rss Feed</title><link>http://www.codeplex.com/sevenzipsharp/Thread/List.aspx</link><description>sevenzipsharp Discussions Rss Description</description><item><title>New Post: A project using SevenZipSharp</title><link>http://sevenzipsharp.codeplex.com/discussions/440147</link><description>&lt;div style="line-height: normal;"&gt;Just thought I'd share a project I'm working on that uses SevenZipSharp&lt;br /&gt;
&lt;br /&gt;
Its a life saver and my project would have never come about if it weren't for this great library.&lt;br /&gt;
&lt;br /&gt;
Feel free to raid the source code for some more code examples, &lt;a href="http://jts.codeplex.com/" rel="nofollow"&gt;http://jts.codeplex.com/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>Montaro</author><pubDate>Sat, 13 Apr 2013 00:20:47 GMT</pubDate><guid isPermaLink="false">New Post: A project using SevenZipSharp 20130413122047A</guid></item><item><title>New Post: Compress stream as data written to stream?</title><link>http://sevenzipsharp.codeplex.com/discussions/438073</link><description>&lt;div style="line-height: normal;"&gt;What I want to do is write data to a memory stream (or a StreamWriter), and have that compressed on the fly using 7zip. Something like this (obviously I would want to write more useful data :)&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;var fs = new FileStream(&amp;quot;Test.7z&amp;quot;, FileMode.Create);
var ms = new MemoryStream();

var compressor = new SevenZipCompressor();
compressor.CompressionMethod = CompressionMethod.Lzma2;
compressor.CompressionLevel = CompressionLevel.Normal;
compressor.CompressStreamDictionary(new Dictionary&amp;lt;string, Stream&amp;gt; { { &amp;quot;log.txt&amp;quot;, ms } }, fs);

for (int i = 0; i &amp;lt; 100; i++)
{
  ms.WriteByte(1);
}&lt;/code&gt;&lt;/pre&gt;

This just seems to create an empty archive; I don't think anything written to the memory stream after calling CompressStreamDictionary is being compressed.&lt;br /&gt;
&lt;br /&gt;
Is this possible?&lt;br /&gt;
&lt;/div&gt;</description><author>cocowalla</author><pubDate>Tue, 26 Mar 2013 20:21:48 GMT</pubDate><guid isPermaLink="false">New Post: Compress stream as data written to stream? 20130326082148P</guid></item><item><title>New Post: SevenZipSharp Extracting Event Progress Jumps?</title><link>http://sevenzipsharp.codeplex.com/discussions/438047</link><description>&lt;div style="line-height: normal;"&gt;Has anyone used the BeginCompressFiles method from SevenZipCompressor?&lt;br /&gt;
&lt;br /&gt;
The progress is reported in steps of 7, starting at 21%&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Dim tmp = New SevenZipCompressor(TempPath)
AddHandler tmp.Compressing, AddressOf SevenZip_Compressing
tmp.BeginCompressFiles(&amp;quot;C:\temp\test.zip&amp;quot;, C:\temp\test.jpg))

Private Sub SevenZip_Compressing(ByVal sender As Object, ByVal e As ProgressEventArgs)
Console.WriteLine(e.PercentDone)
End Sub
&lt;/code&gt;&lt;/pre&gt;

For BeginCompressDirectory and all extraction events the progress is reported as exprected (0 - 100 in steps of 1)&lt;br /&gt;
&lt;/div&gt;</description><author>madlan</author><pubDate>Tue, 26 Mar 2013 16:14:47 GMT</pubDate><guid isPermaLink="false">New Post: SevenZipSharp Extracting Event Progress Jumps? 20130326041447P</guid></item><item><title>New Post: Read a specific byte from a file (Without extracting)</title><link>http://sevenzipsharp.codeplex.com/discussions/437923</link><description>&lt;div style="line-height: normal;"&gt;I would like to read a specific byte from a file within a zip archive without extracting the whole file, is this possible?&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;        Dim br As BinaryReader = New BinaryReader(ms)
        Dim lngStartPos As Long = 3756
        br.BaseStream.Seek(lngStartPos, SeekOrigin.Begin)
        Dim a As Byte = br.ReadByte()
        Dim b As Byte = br.ReadByte()
        Dim c As Integer = b * 256 + a&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>madlan</author><pubDate>Mon, 25 Mar 2013 17:07:00 GMT</pubDate><guid isPermaLink="false">New Post: Read a specific byte from a file (Without extracting) 20130325050700P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;I encountered exactly the same issue today.&lt;br /&gt;
&lt;br /&gt;
Test code was running great from the Console application, but I got &amp;quot;the load library&amp;quot; error when running the code from my Outlook plugin.&lt;br /&gt;
The plugin is a x86 app written in C++ (unmanaged) that uses a mixture of unmanaged and managed code components.&lt;br /&gt;
&lt;br /&gt;
Procmon utility showed that the LoadImage call on 7z.dll was successful. But still I was getting the LoadLibrary error.&lt;br /&gt;
&lt;br /&gt;
I was able to get it to  work by re-targeting SevenZip .Net Library from any CPU to x86.&lt;br /&gt;
&lt;br /&gt;
I guess for x64 apps the SevenZip library should be compiled as x64 assembly&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Michael&lt;br /&gt;
&lt;/div&gt;</description><author>mdaniloff</author><pubDate>Fri, 22 Mar 2013 05:35:34 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130322053534A</guid></item><item><title>New Post: SevenZipExtractor constructor throws exception in CheckSignature</title><link>http://sevenzipsharp.codeplex.com/discussions/354841</link><description>&lt;div style="line-height: normal;"&gt;I'm not positive, I've download the latest 0.64 through NuGet, but seems to have the constructor bug you mention here. I press F12 to bring up the source, and it shows I've got a ctor with a string path, like I am expecting. However, I get the error here. Is there a new update I can download?&lt;br /&gt;
&lt;/div&gt;</description><author>mwpowellhtx</author><pubDate>Tue, 19 Mar 2013 23:54:29 GMT</pubDate><guid isPermaLink="false">New Post: SevenZipExtractor constructor throws exception in CheckSignature 20130319115429P</guid></item><item><title>New Post: PC without domain problem</title><link>http://sevenzipsharp.codeplex.com/discussions/436646</link><description>&lt;div style="line-height: normal;"&gt;I have a problem with a windows xp pc without domain.&lt;br /&gt;
The library does't work and return error while trying to compress directory.&lt;br /&gt;
&lt;br /&gt;
The same code work correctly if I register a domain on the pc, and work correctly with vista, win7 32 and 64bit.&lt;br /&gt;
&lt;br /&gt;
Can you help me?&lt;br /&gt;
&lt;br /&gt;
Thank's a lot!&lt;br /&gt;
&lt;/div&gt;</description><author>fabiomede</author><pubDate>Thu, 14 Mar 2013 15:13:37 GMT</pubDate><guid isPermaLink="false">New Post: PC without domain problem 20130314031337P</guid></item><item><title>New Post: CompressStream issue with TAR format archives</title><link>http://sevenzipsharp.codeplex.com/discussions/434921</link><description>&lt;div style="line-height: normal;"&gt;Not sure there is any help for this, but I think I know why TAR archives don't seem to extract properly for some people. And why the error message &amp;quot;There are data after end of archive&amp;quot; crops up when the extraction is attempted. &lt;br /&gt;
&lt;br /&gt;
I built a very simple WinForms app that creates 3 input memory streams and I Compress them using CompressStream (create on the first, append on the second 2). I give each a distinct name and all of the data is outputted to my output stream just fine. Then, so I can test the veracity of the archive, I outputted my output stream to a file stream and got it all on disk. Then using 7-zip itself I attempt to extract the 3 files from the archive. I end up with the first file on disk (which is perfect) and the error message &amp;quot;There are data after the end of archive&amp;quot;. So here's where it gets interesting...&lt;br /&gt;
&lt;br /&gt;
In tracing the SevenZipSharp code I found that despite the fact my input streams were less than 50 bytes, the resulting output stream is over 4 blocks long (~2048 bytes). So despite the fact I need less than a block to contain the compressed input stream, the output is over 2000 bytes of mostly empty space.&lt;br /&gt;
&lt;br /&gt;
After reading up a bit on the TAR specification I learned that the TAR spec calls for 2 blocks of empty data (1024 bytes) to be written to the end of the file (stream) to serve as an end of archive marker. Anybody else see the problem yet...&lt;br /&gt;
&lt;br /&gt;
BECAUSE CompressStream is adding THREE blocks of unneeded data for my 50 byte stream, an apparent end of archive structure is being put in place prematurely by the call to CompressStream. So when 7-zip starts extracting it does the first entry fine, but stumbles across 1024 empty bytes before it ever gets to my second entry. Hence the error &amp;quot;There are data after end of archive&amp;quot;. 7-zip thinks the end of archive is near the top of my archive and not at the bottom where it should find it.&lt;br /&gt;
&lt;br /&gt;
So, as far as I can tell, CompressStream is causing the problem. The TAR spec says that everything in a TAR archive should exist within a 512 byte block. Ok, fine. CompressStream should create exactly as many 512 byte blocks as needed to contain the data to be compressed and NO EXTRA blocks added. In my case I am getting THREE superfluous blocks for each tiny stream (50 byte) I pass in. &lt;br /&gt;
&lt;br /&gt;
We either need to fix the existing logic for CompressStream or add an overload that only creates as many blocks as really needed.&lt;br /&gt;
&lt;br /&gt;
I'm not sure of the process form here. How do things like this get fixed...or is it on me to fix it?&lt;br /&gt;
&lt;br /&gt;
Thanks for listening!&lt;br /&gt;
&lt;/div&gt;</description><author>ralan88</author><pubDate>Thu, 28 Feb 2013 20:17:43 GMT</pubDate><guid isPermaLink="false">New Post: CompressStream issue with TAR format archives 20130228081743P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;Ok, after tracing the SevenZipSharp code within the context of a very simple WinForms app, it became apparent the kernel32 LoadLibrary method was where the failure was occurring. On a whim I re-downloaded the 7z.dll file and guess what...the problem disappeared. So it appears my problem the entire time was a corrupted dll. Glad I found it but I sure wish it didn't take me a day and a half to get to the bottom of it. &lt;br /&gt;
&lt;br /&gt;
So anyone else running in to this. If you've done everything suggested in these posts and it doesn't work...try getting a fresh copy of the dll.&lt;br /&gt;
&lt;/div&gt;</description><author>ralan88</author><pubDate>Thu, 28 Feb 2013 15:08:52 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130228030852P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;Does anyone know what the WINCE and MONO flags are about in the SevenZipSharp code?&lt;br /&gt;
&lt;/div&gt;</description><author>ralan88</author><pubDate>Thu, 28 Feb 2013 12:59:00 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130228125900P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;Try setting the following ... You may specify the custom path to 7-zip dll at SevenZipLibraryManager.LibraryFileName or call SevenZipExtractor.SetLibraryPath(@&amp;quot;c:\Program Files\7-Zip\7z.dll&amp;quot;); or call SevenZipCompressor.SetLibraryPath(@&amp;quot;c:\Program Files\7-Zip\7z.dll&amp;quot;);
 &amp;gt; ralan88 &amp;gt; Thursday, 28 February 2013 6:52 AM &amp;gt; &amp;gt; From: ralan88 &amp;gt; &amp;gt; One poster above claimed that the problem only exists for web &amp;gt; applications. So I have built a WinForms app that does nothing but try &amp;gt; to compress an input stream into an output stream.
 I have done &amp;gt; everything suggested in these posts and yet......I am still getting &amp;gt; the can't load library error. Here is the code. &amp;gt; &amp;gt; Please note that I have added the SevenZipSharp dll as a reference in &amp;gt; my project. Intellisense works perfectly so I know
 my ref is working. &amp;gt; Also, the 7z.dll can be found exactly where I'm telling the &amp;gt; SetLibraryPath to look for it AND it has full control privileges. &amp;gt; &amp;gt; So....what the heck am I missing? Why do other people seem to think &amp;gt; this so easy and yet I can't get
 it to load the library under &amp;gt; apparently any circumstance? &amp;gt; |try &amp;gt; { &amp;gt; MemoryStream inStream = new MemoryStream(); &amp;gt; MemoryStream outStream = new MemoryStream(); &amp;gt; StreamWriter sw = new StreamWriter(inStream); &amp;gt; sw.WriteLine(txtInputStream.Text); &amp;gt; sw.Flush();
 &amp;gt; &amp;gt; SevenZipBase.SetLibraryPath(@&amp;quot;C:\Program Files (x86)\7-Zip\7z.dll&amp;quot;); &amp;gt; &amp;gt; SevenZipCompressor comp = new SevenZipCompressor(); &amp;gt; &amp;gt; //comp.ArchiveFormat = OutArchiveFormat.Tar; &amp;gt; //comp.CompressionLevel = CompressionLevel.Normal; &amp;gt; //comp.CompressionMode
 = CompressionMode.Create; &amp;gt; //comp.CompressionMethod = CompressionMethod.Copy; &amp;gt; &amp;gt; comp.CompressionMethod = SevenZip.CompressionMethod.Lzma2; &amp;gt; comp.CompressionLevel = SevenZip.CompressionLevel.Normal; &amp;gt; // comp.DefaultItemName = &amp;quot;pr-123456&amp;quot;; &amp;gt; &amp;gt; inStream.Position
 = 0; &amp;gt; &amp;gt; //bool canRead = memStreamCompany.CanRead; &amp;gt; //bool canWrite = outStream.CanWrite; &amp;gt; &amp;gt; comp.CompressStream(inStream, outStream); &amp;gt; &amp;gt; outStream.Flush(); &amp;gt; outStream.Close(); &amp;gt; } &amp;gt; catch (Exception ex) &amp;gt; { &amp;gt; Console.WriteLine(ex.Message); &amp;gt; }| &amp;gt; &amp;gt; Read
 the full discussion online &amp;gt; . &amp;gt; &amp;gt; To add a post to this discussion, reply to this email &amp;gt; (sevenzipsharp@discussions.codeplex.com &amp;gt; ) &amp;gt; &amp;gt; To start a new discussion for this project, email &amp;gt; sevenzipsharp@discussions.codeplex.com &amp;gt; &amp;gt; &amp;gt; You are receiving this
 email because you subscribed to this discussion &amp;gt; on CodePlex. You can unsubscribe or change your settings &amp;gt; &amp;gt; on codePlex.com. &amp;gt; &amp;gt; Please note: Images and attachments will be removed from emails. Any &amp;gt; posts to this discussion will also be available online
 at codeplex.com &amp;gt;
&lt;div style="font-family:Comic Sans MS"&gt;&lt;span style="font-family:Comic Sans MS"&gt;Try setting the following ...&lt;br&gt;
&lt;br&gt;
You may specify the custom path to 7-zip dll at SevenZipLibraryManager.LibraryFileName
&lt;br&gt;
or call SevenZipExtractor.SetLibraryPath(@&amp;quot;c:\Program Files\7-Zip\7z.dll&amp;quot;);&lt;br&gt;
or call SevenZipCompressor.SetLibraryPath(@&amp;quot;c:\Program Files\7-Zip\7z.dll&amp;quot;);&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;blockquote type="cite" style="border:0px none"&gt;
&lt;div style="margin:30px 25px 10px 25px"&gt;
&lt;div style="display:table; width:100%; border-top:1px solid 
#EDEEF0; padding-top:5px"&gt;
&lt;div style="display:table-cell; vertical-align:middle; padding-right:6px"&gt;&lt;img src="cid:part1.06070804.02040804@aquarius.com.au" name="compose-unknown-contact.jpg" height="25px" width="25px"&gt;&lt;/div&gt;
&lt;div style="display:table-cell; white-space:nowrap; vertical-align:middle; width:100%"&gt;
&lt;a href="mailto:notifications@codeplex.com" style="color:#737F92!important; padding-right:6px; font-weight:bold; text-decoration:none!important"&gt;ralan88&lt;/a&gt;&lt;/div&gt;
&lt;div style="display:table-cell; white-space:nowrap; vertical-align:middle"&gt;&lt;font color="#9FA2A5"&gt;&lt;span style="padding-left:6px"&gt;Thursday, 28 February 2013 6:52 AM&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="color:#888888; margin-left:24px; margin-right:24px"&gt;
&lt;p&gt;From: ralan88&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody"&gt;One poster above claimed that the problem only exists for web applications. So I have built a WinForms app that does nothing but try to compress an input stream into an output stream. I have done everything suggested in
 these posts and yet......I am still getting the can't load library error. Here is the code.
&lt;br&gt;
&lt;br&gt;
Please note that I have added the SevenZipSharp dll as a reference in my project. Intellisense works perfectly so I know my ref is working. Also, the 7z.dll can be found exactly where I'm telling the SetLibraryPath to look for it AND it has full control privileges.
&lt;br&gt;
&lt;br&gt;
So....what the heck am I missing? Why do other people seem to think this so easy and yet I can't get it to load the library under apparently any circumstance?
&lt;br&gt;
&lt;div&gt;&lt;code&gt;try&lt;br&gt;
{&lt;br&gt;
MemoryStream inStream = new MemoryStream();&lt;br&gt;
MemoryStream outStream = new MemoryStream();&lt;br&gt;
StreamWriter sw = new StreamWriter(inStream);&lt;br&gt;
sw.WriteLine(txtInputStream.Text);&lt;br&gt;
sw.Flush();&lt;br&gt;
&lt;br&gt;
SevenZipBase.SetLibraryPath(@&amp;quot;C:\Program Files (x86)\7-Zip\7z.dll&amp;quot;);&lt;br&gt;
&lt;br&gt;
SevenZipCompressor comp = new SevenZipCompressor();&lt;br&gt;
&lt;br&gt;
//comp.ArchiveFormat = OutArchiveFormat.Tar;&lt;br&gt;
//comp.CompressionLevel = CompressionLevel.Normal;&lt;br&gt;
//comp.CompressionMode = CompressionMode.Create;&lt;br&gt;
//comp.CompressionMethod = CompressionMethod.Copy;&lt;br&gt;
&lt;br&gt;
comp.CompressionMethod = SevenZip.CompressionMethod.Lzma2;&lt;br&gt;
comp.CompressionLevel = SevenZip.CompressionLevel.Normal;&lt;br&gt;
// comp.DefaultItemName = &amp;quot;pr-123456&amp;quot;;&lt;br&gt;
&lt;br&gt;
inStream.Position = 0;&lt;br&gt;
&lt;br&gt;
//bool canRead = memStreamCompany.CanRead;&lt;br&gt;
//bool canWrite = outStream.CanWrite;&lt;br&gt;
&lt;br&gt;
comp.CompressStream(inStream, outStream);&lt;br&gt;
&lt;br&gt;
outStream.Flush();&lt;br&gt;
outStream.Close();&lt;br&gt;
}&lt;br&gt;
catch (Exception ex)&lt;br&gt;
{&lt;br&gt;
Console.WriteLine(ex.Message);&lt;br&gt;
}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>glenharvy</author><pubDate>Wed, 27 Feb 2013 21:20:17 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130227092017P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;One poster above claimed that the problem only exists for web applications. So I have built a WinForms app that does nothing but try to compress an input stream into an output stream. I have done everything suggested in these posts and yet......I am still getting the can't load library error.  Here is the code.&lt;br /&gt;
&lt;br /&gt;
Please note that I have added the SevenZipSharp dll as a reference in my project. Intellisense works perfectly so I know my ref is working. Also, the 7z.dll can be found exactly where I'm telling the SetLibraryPath to look for it AND it has full control privileges.&lt;br /&gt;
&lt;br /&gt;
So....what the heck am I missing? Why do other people seem to think this so easy and yet I can't get it to load the library under apparently any circumstance? &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;        try
        {
            MemoryStream inStream = new MemoryStream();
            MemoryStream outStream = new MemoryStream();
            StreamWriter sw = new StreamWriter(inStream);
            sw.WriteLine(txtInputStream.Text);
            sw.Flush();

            SevenZipBase.SetLibraryPath(@&amp;quot;C:\Program Files (x86)\7-Zip\7z.dll&amp;quot;);

            SevenZipCompressor comp = new SevenZipCompressor();

            //comp.ArchiveFormat = OutArchiveFormat.Tar;
            //comp.CompressionLevel = CompressionLevel.Normal;
            //comp.CompressionMode = CompressionMode.Create;
            //comp.CompressionMethod = CompressionMethod.Copy;

            comp.CompressionMethod = SevenZip.CompressionMethod.Lzma2;
            comp.CompressionLevel = SevenZip.CompressionLevel.Normal;
         //   comp.DefaultItemName = &amp;quot;pr-123456&amp;quot;;

            inStream.Position = 0;

            //bool canRead = memStreamCompany.CanRead;
            //bool canWrite = outStream.CanWrite;

            comp.CompressStream(inStream, outStream);

            outStream.Flush();
            outStream.Close();
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.Message);
        }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>ralan88</author><pubDate>Wed, 27 Feb 2013 19:51:16 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130227075116P</guid></item><item><title>New Post: SevenZip.snk</title><link>http://sevenzipsharp.codeplex.com/discussions/434686</link><description>&lt;div style="line-height: normal;"&gt;I've gotten around this issue by going to the signing page in my project properties and turning off signing. I can now run the SevenZipSharp code.&lt;br /&gt;
&lt;/div&gt;</description><author>ralan88</author><pubDate>Wed, 27 Feb 2013 18:45:45 GMT</pubDate><guid isPermaLink="false">New Post: SevenZip.snk 20130227064545P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Thanks for the pointer to the other site. I will check it out.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:11.0pt; font-family:"&gt; nnopazo [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, February 27, 2013 11:36 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Robert Alan&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: Can not load 7-zip library or internal COM error! Message: failed to load library. [sevenzipsharp:54207]&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;From: nnopazo&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;test in stackoverflow.com they respond faster. I have not programmed anything for about 1 year and I do not remember much.
&lt;br&gt;
sorry.&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;hr&gt;
&lt;font face="Arial" color="Gray" size="1"&gt;&lt;br&gt;
Disclaimer: This e-mail and any attachments may contain confidential information belonging to the sender which is legally privileged. This information is intended only for the use of the individual or entity named above. If you are not the intended recipient,
 you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this e-mail in error, please immediately notify us by telephone at (617)
 600-3240, via our website at www.subpay.com, or by replying to this message.&lt;br&gt;
&lt;/font&gt;&lt;/div&gt;</description><author>ralan88</author><pubDate>Wed, 27 Feb 2013 16:39:37 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130227043937P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;test in stackoverflow.com they respond faster. I have not programmed anything for about 1 year and I do not remember much.&lt;br /&gt;
sorry.&lt;br /&gt;
&lt;/div&gt;</description><author>nnopazo</author><pubDate>Wed, 27 Feb 2013 16:36:07 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130227043607P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;Looking in the debugger at the Compressor object I create (comp in the code above) I notice that the compressor does associate itself with a temp directory on disk. So I checked the permissions on the temp file disk location and found that all entries in the security list had full access to this directory. The files in the directory all appear to be set to read-only,  which I tried to clear as a test  but the read-only attribute re-asserted itself. &lt;br /&gt;
&lt;br /&gt;
I am still at a loss for the cause of the failure to load the library. I will keep poking around in the debugger and examining the SevenZipSharp objects but I'm hoping someone can save me the time and come up with an answer I haven't seen yet.&lt;br /&gt;
&lt;br /&gt;
Thanks to all who might be noodling on this for me,&lt;br /&gt;
&lt;/div&gt;</description><author>ralan88</author><pubDate>Wed, 27 Feb 2013 15:55:54 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130227035554P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;As you can see from the code I posted, I am not trying to compress to disk. I am trying to compress an input stream to an output stream. Both streams are MemoryStreams. But, I've tested both streams for read/write capability and they are fine. The problem is that the SevenZip library cannot be loaded for some reason. That is the crux of my problem I believe. The only error I receive is the old &amp;quot;Can not load 7-zip library or internal COM error! Message: failed to load library.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Since the path to the files themselves seems clear to the SetLibraryPath method, I'm thinking that the problem may have more to do with the second half of the error message...&amp;quot;or internal COM error&amp;quot;.  There is not enough detail in the error for me to guess at what the COM error issue might be.&lt;br /&gt;
&lt;/div&gt;</description><author>ralan88</author><pubDate>Wed, 27 Feb 2013 14:49:49 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130227024949P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;the folder where you create the compressed file?, has permissions?&lt;br /&gt;
&lt;/div&gt;</description><author>nnopazo</author><pubDate>Wed, 27 Feb 2013 14:16:59 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130227021659P</guid></item><item><title>New Post: SevenZip.snk</title><link>http://sevenzipsharp.codeplex.com/discussions/434686</link><description>&lt;div style="line-height: normal;"&gt;Hello everyone,&lt;br /&gt;
&lt;br /&gt;
I have downloaded the SevenZipSharp source code and I'm trying to build it in Visual Studio (2012).  I am getting the following build error, apparently based on a missing file called SevenZip.snk.&lt;br /&gt;
&lt;br /&gt;
I've searched for this file online and can't seem to find it. Can anyone tell me how to find the file or else how to get around the build error?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
ralan88&lt;br /&gt;
&lt;br /&gt;
Error	350	Cryptographic failure while signing assembly 'c:\Code Samples\7Zip\sevenzipsharp-79962\SevenZip\obj\Debug\SevenZipSharp.dll' -- 'Error reading key file 'c:\Code Samples\7Zip\sevenzipsharp-79962\SevenZip\SevenZip.snk' -- The system cannot find the file specified. '	C:\Code Samples\7Zip\sevenzipsharp-79962\SevenZip\CSC	SevenZip&lt;br /&gt;
&lt;/div&gt;</description><author>ralan88</author><pubDate>Wed, 27 Feb 2013 14:06:37 GMT</pubDate><guid isPermaLink="false">New Post: SevenZip.snk 20130227020637P</guid></item><item><title>New Post: Can not load 7-zip library or internal COM error! Message: failed to load library.</title><link>http://sevenzipsharp.codeplex.com/discussions/54207</link><description>&lt;div style="line-height: normal;"&gt;Yes. In the properties/security tab for SevenZipSharp.dll,  7z.dll, and 7z64.dll I have made sure all users have full control rights to these files. I also added a Network Service entry to the security group list and made sure it had full control rights as well. I just verified that all users of these three files have full control rights and tried running my app again. Still can't load the library.&lt;br /&gt;
&lt;br /&gt;
More ideas?&lt;br /&gt;
&lt;/div&gt;</description><author>ralan88</author><pubDate>Wed, 27 Feb 2013 12:24:01 GMT</pubDate><guid isPermaLink="false">New Post: Can not load 7-zip library or internal COM error! Message: failed to load library. 20130227122401P</guid></item></channel></rss>