Ciprian
Ciprian

Reputation: 33

7Zip wrapper without 7za.dll

I need to use 7zip in my application and I am looking for a wrapper over the LZMA sdk. I found an interesting one SevenZip++ (https://bitbucket.org/cmcnab/sevenzip/overview) developed by Chadwick McNab. The problem is that this wrapper uses 7za.dll.

Is it possible to use 7zip in an application without 7za.dll? There is any wrapper for LZMA sdk that doesn't use 7za.dll?

Upvotes: 2

Views: 2565

Answers (1)

Spock77
Spock77

Reputation: 3325

Yes it is really possible. I once integrated 7-zip sources into the project as a whole, and then used command line interface to the functionality. They are well written in the sense that you do not need to change the library - just include all files in your project and build as a single executable. You also gain Linux version for free the same time.

This approach will be faster than extract LZMA library (it is really a C library) from 7-zip sources and use its underlying C-interface.

Upvotes: 1

Related Questions