login about faq

Hi,

we use the ZIP-Library for unzippping images in a Windows Universal App. Sometimes there is an image in our zip-folder chilkat can not unzip. We get this error message:

ExtractInto:
DllDate: Apr  7 2016
ChilkatVersion: 9.5.0.58
UnlockPrefix: XXXX
Username: WinPhone:
Architecture: Little Endian; 64-bit
VerboseLogging: 0
inflateToBaseDir:
  inflateMappedEntry:
    inflateToOutput2:
      mappedInflateToOutput:
        fromDeflated:
          inflateFromSource:
            inflateSource:
              decodeErrNum: 5
              inflate decode error.
              inflateBlock failed.
            --inflateSource
            Inflate from source failed.
          --inflateFromSource
        --fromDeflated
      --mappedInflateToOutput
    --inflateToOutput2
    Unzip failed
    path: C:\Users\XXXXX
  --inflateMappedEntry
--inflateToBaseDir
Failed.
--ExtractInto

The code looks like this:

Chilkat.Zip zip = new Chilkat.Zip();
zip.SetPassword(zipPassword);
if (zip.OpenFromMemory(zipBytes))
{
    Chilkat.ZipEntry entry = zip.GetEntryByName(nameOfFile);
    bool success = await entry.ExtractIntoAsync(localStorage.Path);
    if (!success)
    { // Logging }
} else { // Logging }
zip.CloseZip();

Can anyone tell us, where we have to look, what's causing the problem? With an other library (SharpZipLib with WinForms) the exact same file can be unzipped. And most of the images can be unzipped with chilkat too.

Thanks in advance

asked Sep 01 at 11:21

pfh_developer's gravatar image

pfh_developer
1

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×87
×7

Asked: Sep 01 at 11:21

Seen: 113 times

Last updated: Sep 01 at 11:21

powered by OSQA