Hi,
why is CloseArchive() called after ReadHeader returned E_END_ARCHIVE ??
The Archive isn't really closed at that moment.
If I want to extract or show the properties of a File OpenArchive etc. is done
again.. Why ??
I'm writing a plugin with which you can open gcf files (Valve Steam files..)
Now there are some file that are about 1,4 GB and have over 14000 files
To show the properties of the file now I've to wait again sometime cause OpenArchive
and the complete filelisting is done again..
Is it possible to not close the archive after returning E_END_ARCHIVE ??
THX
Why is CloseArchive called after...
Moderators: Hacker, petermad, Stefan2, white
-
- New Member
- Posts: 1
- Joined: 2005-05-15, 03:25 UTC
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, Total Commander mimics the unrar.dll interface here, which works the same way: It goes through the entire archive and then tells the unpacker which files it wants. This is done mainly for solid archives, where it is important to extract the files in the same order as they are packed, otherwise the unpacker would have to start from the beginning again and again!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com