login about faq


I'm trying to decompress a string (previously compressed with CompressStringENC).

chilkatCompression.Algorithm = "deflate" chilkatCompression.Charset = "ansi" chilkatCompression.EncodingMode = "base64"

returnValue = chilkatCompression.DecompressStringENC(stringToInflate)

Most of the time, it's working perfectly but for some very long string, I get the following error message.

    DllDate: Dec 12 2012
    UnlockPrefix: ***** <- Not sure if it's safe to display it
    Username: ***** <- Not sure if it's safe to display it
    Architecture: Little Endian; 32-bit
    Language: .NET 4.0
    VerboseLogging: 0
    InDecodedBytesLen: 32759
    deflateError: 38

Since the InDecodedBytesLen value (32759) is near the signed int 16 overflow limit (32 768), I was wondering if this was causing the problem.

So is there a way to decompress my string?

Thanks for your help!

asked Jun 21 '13 at 16:06

simonbesner's gravatar image


Hurray! That's question # 1000!

(Jun 21 '13 at 16:08) simonbesner

I don't think it's an issue with 16-bit overflow. In any case, test using this new build:


If you see the same problem, turn on verbose logging by setting the VerboseLogging property = true, and then post the LastErrorText.


answered Jun 24 '13 at 10:26

chilkat's gravatar image

chilkat ♦♦

It worked!

(Jul 03 '13 at 11:17) simonbesner
Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Jun 21 '13 at 16:06

Seen: 1,025 times

Last updated: Jul 03 '13 at 11:17

powered by OSQA