Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Zipping

Status
Not open for further replies.

eliser

Technical User
Mar 18, 2004
3
0
0
BR
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.
 
There are a number of 3rd party components available to do this for you, some of which are freeware.

If you go to the Delphi Super Page ( and search for "ZIP Archive" you'll see a number of files available that will do this.

-D
 
A routine… heh…
Uses ShellApi;

ShellExecute(application.Handle,
pchar('open'),
pchar('rar.exe'),
pchar('a '+MyArcName+' '+files2add),
pchar(extractfiledir(application.ExeName)),
SW_HIDE);
 
Thanks, but need no extra files, neither *.exe nor *.dll; all the stuff must be inside my app.
 
Don’t invent a bike. Use Zipforge or FlexCompress or ECL from ComponentAce.
 
What is ECL and flex compress?
 
ECL is easy compression library – handy unit to handle archiving :)
FlexCompress is a visual component that does similar work.
 
And you have ZIPLib in Delphi's CD.

buho (A).
 
We use abbrevia. Very easy.

Brian
"There are 2 kinds of people in the world, those that divide people into two groups and those that don't. I belong to the second group." - tag line I stole
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top