![]() |
|
#1
|
|||
|
|||
Compressing files?Hi All,
I'm coding in a vc++.net project. Does anyone have any info on how to compress a file so that its a true .zip file? I tried just renaming the file using code but that didn't work. D'OH! I basically have a .txt file I output my data too and then I want to get it in .zip compressed format. Is there a zip library somewhere maybe? Any ideas? Any help or info would be outstanding. Thanks, Todd |
|
#2
|
||||
|
||||
|
Hi.
There's a free library here. I think it was built in C#. You should be able to use it from Visual C++ too if you build managed code. I didn't try it yet, but if you need help using it, please let me know and I'll try to help. Best regards, Lucian __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
|
#3
|
|||
|
|||
|
I ended up going the zlib route. It looked good but only had C or C# implementations of the library. I was working in c++.net and didn't have time (and maybe experience
I luckily found this post on a c++ wrapper for the library though: http://www.codeproject.com/cpp/unzip.asp I worked for zipping as well as unzipping files. Thanks a lot for your response. I don't get many responses on forums and its nice to see ppl helping out. Thanks again, Todd |
Recent GIDBlog
Meeting the local Iraqis by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Checking source codes of image, audio and video files | onauc | C Programming Language | 5 | 26-Feb-2005 21:47 |
| converting text files to html files | kensenb | C Programming Language | 13 | 09-Nov-2004 11:33 |
| Apache2 config issues | monev | Apache Web Server Forum | 2 | 28-Jun-2004 06:19 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 02:26 |
| gxx linker accepts only 7 object files | danielxs66 | C++ Forum | 1 | 12-Dec-2003 09:27 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The