I’m new to XCeed so maybe someone can help me.
I am compressing an byte[] in C# using .NET and then passing that compressed buffer down through a web service into on C++ code.
My C# code looks like this:
Byte[] compressedRespBytes = Xceed.Compression.QuickCompression.Compress(data, Xceed.Compression.CompressionMethod.Deflated, Xceed.Compression.CompressionLevel.Normal);
and my C++ code looks like this:
int nCode = XcUncompress( hCompress, inputBytes, bytesLen, &uncompressedOut, &pdwUncompressedSize, bEndOfData );
I’m getting an “Unknown Method Error”.
When I call this:
UINT testVal = XcGetCompressionMethod( hCompress);
testval comes back as “Deflated” so why doesn’t UnCompress work?
Can someone point me in the right direction to get this to work?
Thanks,
Jedk
Imported from legacy forums. Posted by Jed (had 1202 views)