Solved

Is there anyway to compress files programmaticaly??

Posted on 2002-03-21
4
449 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now