title: Compress and Extract with SevenZipSharp
body: <p>I'm trying to compress and extract files with SevenZipSharp, but I'm getting following error: </p>
  
  <blockquote>
    <p>Can not load 7-zip library or internal COM error! Message: failed to load library.</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code>string extractFrom = @"C:\Test\Test.7z";
  string extractTo = @"C:\Test2";
  
  string compressFrom = @"C:\Test2";
  string compressTo = @"C:\Test\Test2.7z";
  
  SevenZipBase.SetLibraryPath(@"C:\Program Files\7-Zip\7z.dll");
  
  SevenZipCompressor compressor = new SevenZipCompressor();
  compressor.CompressionMode = CompressionMode.Create;
  compressor.TempFolderPath = Path.GetTempPath();
  compressor.ArchiveFormat = OutArchiveFormat.SevenZip;
  compressor.CompressDirectory(compressFrom, compressTo);//Error
  
  SevenZipExtractor extractor = new SevenZipExtractor(extractFrom);
  extractor.ExtractArchive(extractTo);//Error
  </code></pre>
  
  <p>The error is at:</p>
  
  <pre><code>compressor.CompressDirectory(compressFrom, compressTo);
  </code></pre>
  
  <p>and at:</p>
  
  <pre><code>extractor.ExtractArchive(extractTo);
  </code></pre>
  
  <p>How can I solve this problem?</p>