开发者

LZMA SDK Progress

开发者 https://www.devze.com 2022-12-11 03:57 出处:网络
In my a开发者_运维技巧pplication, I\'m compressing ~400Mb of data with LZMA SDK. Naturally, this takes some time. Even after massive Googling, I wasn\'t able to find any information how to get live pr

In my a开发者_运维技巧pplication, I'm compressing ~400Mb of data with LZMA SDK. Naturally, this takes some time. Even after massive Googling, I wasn't able to find any information how to get live progress information of the compress-process. Is this done with some callback function or what?


Did you have a look at the examples provided with the SDK? For example, in the folder CPP\7zip\Compress\LZMA_Alone there's a quite complete reference implementation of LZMA. The file LzmaBench.cpp in this directory contains a whole CBenchProgressInfo class including a callback for progress information.

0

精彩评论

暂无评论...
验证码 换一张
取 消