How can I create a .7z file from a folder (or just some data) using the C part of the LZMA SDK?
That is, how can I create a .7z file with the C LZMA SDK?
I'm looking for functions that will 1) open a new .7z file 2) write data to a path in the .7z file and 3) close and save that file.
I've used minizip and it was fairly straightforward, while I can't really figure out what to do with this SDK. Which files of the SDK should I be reading, is there no documentation/tutorial?
Thanks in advance,
C version of LZMA SDK doesn't support 7z archive creating. It supports only extracting from 7z archives.
To create 7z archive, you must use C++ code from SDK.
Hey, Thanks for the answer!
Bit of a shame it's not doable with the C API though.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.