Click here to Skip to main content
15,886,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am searching portable(Win&MAC) C++ Library or Code for Compression and Decompression of Folder.I got some portable libraries but those works for files and not for folders. And got some(ZipUtils) which work for folders but not portable.(Nt work for MAC). So Plz help me.
Posted

1 solution

zlib for the compression.

http://www.zlib.net/[^]

Look at the zlib "minizip" example for handling folders:

http://stackoverflow.com/questions/23490565/zlib-and-minizip-how-to-add-a-new-directory-to-a-zip-file[^]
 
Share this answer
 
Comments
Ams Deshmane 19-Dec-14 6:37am    
Sorry to say man but u'r application uses WINAPI for the functions firstfile and nextfile. I want the portable library or code and if possible C++.
[no name] 19-Dec-14 12:25pm    
Look closer at the code ...

#ifdef _WIN32
#else
#ifdef unix || __APPLE__

It compiles for many platforms. You can write your own C++ wrapper.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900