Solved

Zipping

Posted on 2004-03-25
16
246 Views
Last Modified: 2010-04-05
Hi.
I have to include an ability to compress files in my project, can anyone supply me with routine that does the job? I need it quickly.
0
Comment
Question by:elise_r
  • 5
  • 2
  • 2
  • +4
16 Comments
 
LVL 6

Accepted Solution

by:
wimmeyvaert earned 43 total points
ID: 10675937
Hi elise r,

Why don't you make use of freeware components (even with source) ?
You find lots of them on www.torry.ru :
http://www.torry.net/pages.php?id=303

Best regards,

The Mayor.
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 10675944
you should look to 'FWS' in the header of the previous given URL. This means that it is FreeWare and SourceCode is included.
0
 

Expert Comment

by:fran121
ID: 10675984
A routine… heh…
Uses ShellApi;

ShellExecute(application.Handle,
                     pchar('open'),
                     pchar('rar.exe'),
                     pchar('a '+MyArcName+' '+files2add),
                     pchar(extractfiledir(application.ExeName)),
                     SW_HIDE);
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:elise_r
ID: 10676005
Thanks, but need no extra files, neither *.exe nor *.dll; all the stuff must be inside my app.
0
 

Expert Comment

by:panther11
ID: 10676028
In this case you have to use third-party components. I use ZipForge from componentace.com  
Or there is another way: you can invent your own algorithm and write your routine yourself :)
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 10676043
Why reinventing the wheel if there were already smart people who did it for us ?
Now I'm referring to my given URL on the Torry-website.
Most of those Components are freeware AND with source-code. What more do you need ?

0
 

Assisted Solution

by:greatsoft
greatsoft earned 41 total points
ID: 10676098
Dear elise_r, don’t invent a bike. Use Zipforge or FlexCompress or ECL from ComponentAce.
Wimmeyvaert, instead of digging torry you can use mentioned components.
0
 

Author Comment

by:elise_r
ID: 10676107
What is ECL and flex compress?
0
 

Expert Comment

by:greatsoft
ID: 10676112
ECL is easy compression library – handy unit to handle archiving :)
FlexCompress is a visual component that does similar work.
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 10676178
and are they freeware too?
I don't knwo if that is an issue here ...
0
 
LVL 1

Expert Comment

by:satmanuk
ID: 10676912
u need to change it once you have it the app or is it  static info inside your app that you want to extract and run (like a installer) ?
0
 
LVL 1

Assisted Solution

by:pr_wainwright
pr_wainwright earned 41 total points
ID: 11002008
elise_r,
        TurboPowers Abbrevia is available on sourceforge

Regards
Paul.
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 13242116
I can live with that recommendation.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 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