10
votes
Vote UpVote

Zip and Unzip files in Delphi without using a 3rd party component

TMS Software Blog – Using Windows Explorer from time to time to open ZIP files or create ZIP files, I knew that Windows can internally manage ZIP files so it was a matter of searching via what API this functionality is exposed to use it from applications. And yes, it is effectively exposed, albeit in a limited way via OLE automation with Shell.Application. This API makes it fairly easy to zip or unzip a ZIP file. Here is a function for using the API from Delphi to unzip a file. The filter parameter is optional and can be used to extract only files that match the filter condition. const SHCONTCH_NOPROGRESSBOX ...
Favorite? Off-Topic? 2009-12-27 13:00

Statistics

Visits: 3877
Votes: 10
Favorites: 1
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

AlinS
Andreas Schachtner
Barton_Stano
ezboy
mddmx
Sergio
Sergio
stukelly
Tier777
Yogi Yang
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)