It doesn't seem to make a difference which value different from 0 is returned. In all cases it behaves like E_END_ARCHIVE (empty archive) and no error message is displayed (opened in normal file panel not in search).The packer plug-in API docu wrote:If an error occurs, ReadHeader should return one of the error values or 0 for no error.
ReadHeader error values
Moderators: Hacker, petermad, Stefan2, white
ReadHeader error values
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed no error is reported at this time, so TC can open also damaged or partial archives. I still recommend to return the appropriate error values.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com