how to zip a file and add that to the existing zip file
say for example am zipping a file (name.txt) and its name is name.zip after zipping,
now i need to zip another file (file.txt) and this file.txt shold be zipped and should be
placed inside name.zip.
altogether there should be 2 file inside the name zip file. howto do it
i have done zipping but dont know how to add the next file in the existing zip file.
say for example am zipping a file (name.txt) and its name is name.zip after zipping,
now i need to zip another file (file.txt) and this file.txt shold be zipped and should be
placed inside name.zip.
altogether there should be 2 file inside the name zip file. howto do it
i have done zipping but dont know how to add the next file in the existing zip file.
NOTE: i need to zip a file and add that to an existing zip file.
and its more like add to archive :)
and its more like add to archive :)

Zipping in VC++
Steven Twitchell
There are .. but not that i want .. i need to zip a file and add that to an existing zip file !! this is more important .
thanks,
Jayender.
Wolf Logan
Just look here:
http://www.codeproject.com/info/search.asp cats=2&searchkw=zlib&Submit1=Search&author=&sd=11%2F15%2F1999&ed=2%2F15%2F2006
There are hundreds of samples.
Brian C.
Most developers do this using zlib, or one of its many wrapper libraries. Many compression software vendors (ACE, RAR, 7-zip) also offer a DLL that you can use to compress/decompress their formats (be prepared to pay money in these cases).
There are plenty of articles/tutorials helping you with zlib. Just search.
mew1979
With the shown code you create one zip file and with the shown code you add this datafile into another zip file.
Sorry can you explain in more detail were you see a problem!