Archived Forum Post

Index of archived forum posts


DecompressStringENC issue with long string

Jul 03 '13 at 11:17


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!

Accepted Answer

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.