Solved

Is there anyway to compress files programmaticaly??

Posted on 2002-03-21
4
452 Views
Last Modified: 2012-08-14
Is there anyway to compress files programmaticaly?? Like winZip!!!
Please Help.
0
Comment
Question by:AHD
4 Comments
 
LVL 6

Accepted Solution

by:
thresher_shark earned 40 total points
ID: 6886269
Yep, do a search for ZLib at your favorite search engine:

http://www.gzip.org/zlib/

It probably does exactly what you need.
0
 

Expert Comment

by:alarson
ID: 6886533
I use in my commercial application the PKZip royalty free compression library.  However, it sells for about $300, but it is easy coding and it works great!

0
 
LVL 3

Expert Comment

by:GGRUNDY
ID: 6887099
You can also spawn (CreateProcess) the microsoft Cabarc utility to compress files. This has the added advantage of creating standard windows cabinet files.

For more info Check out
http://msdn.microsoft.com/workshop/components/activex/packaging.asp?frame=true


---------------------------------------------------
Also if you can find a copy of the Microsoft® File Compression Utility (COMPRESS.EXE). (Not so easy now-a-days) you can create files which can be decompressed with the standard system calls LZOpen etc.
0
 
LVL 11

Expert Comment

by:griessh
ID: 6955450
Dear AHD

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "thresher_shark"

comment(s) as an answer.

If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points. The link to the Community Support area is: http://www.experts-exchange.com/commspt/

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question