Solved

Is there anyway to compress files programmaticaly??

Posted on 2002-03-21
4
454 Views
Last Modified: 2012-08-14
Is there anyway to compress files programmaticaly?? Like winZip!!!
Please Help.
0
Comment
Question by:AHD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maze travler 6 73
computer science syllabus 3 116
HTTPSendRequest with WinINet delays on first call 11 119
c++  placing data into a form and an editbox 5 48
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

739 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