Have you looked at the examples presented in the SDK? For example, in the CPP \ 7zip \ Compress \ LZMA_Alone folder there is a fairly complete reference LZMA implementation. The LzmaBench.cpp file in this directory contains the whole CBenchProgressInfo class, including a callback for progress information.
source
share