Solved

Zipping

Posted on 2004-03-25
16
247 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
[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
  • 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
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!

 

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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

732 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