No, you don't have to write your own, this is a common need.
If you are writing managed code, here are two options:
1) SharpZipLib, an open-source library (
http://sharpziplib.com)
2) Xceed Zip for .NET, a professional library (
http://xceedzip.com)
If you are writing unmanaged code:
3) Xceed Zip ActiveX/COM (
http://xceedsoft.com/products/zipCompL)
On Mon, 24 Jul 2006 19:55:12 +0500, "Neo" <mo******@hotmail.com>
wrote:
>I am developing compression application in C++ (vs2k5) using zlib library
for compressing files/folders. I understand how to compress a single file,
but is there any way to compress a folder containing subfolder and files? I
mean is there some single function that does this or will I have to write my
own.
Regards,
-aims
--
Alex Leblanc
Xceed Software Inc.