Hi Igor, Thanks for the information, but I need to read a chunk of data from a file and write back the compressed chunks to another file. I tried to compress using the Client7z (7zcl.exe), but it is returning error says"Update error". Then I further debugged and found that the codecs are not registered with the application. "FindMethod_Index" methos is returning -1 and throws "Update Error" with the below call stack: 7z.dll!FindMethod_Index(const CExternalCodecs * __externalCodecs=0x100fb264, const...
Hi Igor, Please reply, waiting for your answer.
Hi Igor, Please reply, waiting for your answer.
Thanks for the info, I tried using Lzma2Decode function, still it is crashing from this method. However the Lzma2Dec_DecodeToBuf function is working fine and decompressing the file. But I am not seeing any difference in the compression/decompression between LZMA and LZMA2. both having same compression ratio and almost same time to compress and decompress. Can you please suggest me how can I optimize further in terms of compression ratio as well the time. And please let me know how can I apply the...
Hi, I am trying to decompress the LZMA2 compressed stream using the above code, but it is failing to decompress it. 1) Please let me know how to get the dictionary size from LZMA2 stream properties. 2) Do I need to replace the OUT_BUF_SIZE with dictionary size in the below "Lzma2Dec_DecodeToDic" call. res = Lzma2Dec_DecodeToDic(&state , OUT_BUF_SIZE , inBuf + inPos , &inProcessed , finishMode , &status);