Closed kenkit closed 5 years ago
This is an example where it failed
ProgressCallback Progress;
...
result = compressor.DoCompress((SevenZip::ProgressCallback*)&Progress);
I've tried a number of ways to get around this but it has not worked.
I create my plugins like this https://gist.github.com/xiongjia/50198166b65cb5dab13a339ac9843618
This is one of the libraries where it has failed https://github.com/getnamo/7zip-cpp
Fixed bug was on my side for not declaring the methods as static
I noticed this when I turned most of my code into a callback based api. The problem happens when classes are involved.