unzip?

delphi package - madRes, madTools, madStrings, ...

unzip?

Postby Erick » Sat Nov 15, 2008 4:52 pm

I've been successfully using madzip to create zips, but I don't see a corresponding routine to uncompress them.

I don't want to use the non-Zip format because I want people to be able to decrompress the files with other programs if they wish.

I suppose I could load InfoZIP's dll, but I'd prefer if the EXE would be self contained.

Is there an unzip function available?
Erick
Erick
 
Posts: 9
Joined: Thu Nov 06, 2008 6:33 pm
Location: Canada

Postby madshi » Mon Dec 01, 2008 7:50 pm

Sorry for the late reply.

No, there is no "unzip" function available. The reason for that is that creating a simple zip file is much easier than unzipping a zip file. madZip is built in such a way that is just does whatever is necessary to create a simple zip file. madZip doesn't even support all the funny compression formats the ZIP format can handle. So if you tried unzipping a zip archive with madZip, there'd be some zip files that simply wouldn't unzip at all.
madshi
Site Admin
 
Posts: 9384
Joined: Sun Mar 21, 2004 5:25 pm


Return to madBasic

Who is online

Users browsing this forum: No registered users and 1 guest

cron