Home Forums ActiveX components Xceed Zip for ActiveX & x64 In with .NET out with unmanaged C++

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #42416 |

    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)

    User (Old forums)
    Member
    Post count: 23064

    I’ve tested this with all kinds of scenerios.
    I’ve used all the compression methods.
    I tried “No Compression” also which gave me a 1004 error.
    I am convinced the .NET compression is not compatible with the ActiveX decompression.

     Can somebody confirm this?

    Thanks,

    JedK

    Imported from legacy forums. Posted by Jed (had 501 views)

    User (Old forums)
    Member
    Post count: 23064

    I have same problem too

    Imported from legacy forums. Posted by david (had 1671 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.