Solved

Zipping

Posted on 2004-03-25
16
242 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
 

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

708 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

11 Experts available now in Live!

Get 1:1 Help Now