Create LZMA (7Zip) library (.lib) for use in C++ program.
Source code is available at 7-zip.org. I need to access the LZMA functionality through two functions (compress and decompress). It is permissible to have LZMA functionality in a .dll file as long as there is a .lib file that links it in.
My application development and the library development will be done in Visual Studio 2010.
1. A .lib file that allows usage of LZMA functionality. It is permissible to have a .dll file that the .lib file links to.
2. Need the project built with Visual Studio 2010. Language is C++. The project must be delivered in addition to the .lib (and possibly .dll) file.
3. Demo program--can be C++ console application.
4. Two functions as follows:
bool compress( FILE *in, FILE *out );
bool decompress( FILE *in, FILE *out );
Functions take two FILE objects which reference open files. The file in is
read-only and the file out is new read/write.
Return values are true for success and false for failure. It is permissible to
use integer values instead of boolean.