Friedel,
> The problem is, that afaik the caller is not not notified,
> when the (un-)zipping has finished.
On my XP computer the ZIP capabilities of the OS are strictly aimed at
user-interaction, with the "CopyHere" as a needed function to be able to
complete the users wishes. Full programmatically interaction is therefore
not really possible, and any-and-all attempts to do so lead into the dreaded
quicksand of the "work-arounds".
Oh, by the way: Those ZIP capabilities are the result of, as so many times
with MS, a third-part product. One that could have been minimalized in
functionality on purpose, as an "incentive" for you to buy the whole package
from the origional manufacturer. :-)
> If not, can you recommend reliable libraries for this?
I myself have Unzip32, Rar and ZLib1 here. I can say that most of them are
aimed at the above-mentioned user-interaction, with programmatic access as
an afterthought/side-effect.
The first one in my list has, for example, only human-readable output with
no possibilities to get a files size, attributes, search for particular file
and other stuf like it. Rar has got the same kind of problems. ZLib1 can
only handle single files (cannot do anthing with a PKZip file, but can
extract a single file if you point it out), and has no clue what to do with
backslashes in a filepath.
The 7Zip interface mentioned by Deanna is aimed at OOP (Object Oriented
Programming), which might not be supported by your programming-language of
choice.
In short, it will be a queeste to find an API you can really use as you
would want it. :-\
Regards,
Rudy Wieser
-- Origional message:
Friedel Jantzen <
nospa...@freenet.de> schreef in berichtnieuws
okkrejggbl7o.1m...@40tude.net...