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.
ChilkatLog: DecompressStringENC: 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 Failed. --DecompressStringENC --ChilkatLog
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!
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.