Please help Me. I do not speak on English.
if (user pressed "Delete" || "F8")
{
TC does not call OpenArchive (ArchiveData);
TC does not call ReadHeader (hArcData,HeaderData);
TC does not call ProcessFile (hArcData,Operation,DestPath,DestNa);
TC call SetChangeVolProc (oxffffffff, pChangeVolProc);
TC call SetProcessDataProc (0xffffffff,pProcessDataProc);
TC call DeleteFiles (PackedFile, DeleteList);
TC does not call CloseArchive (hArcData);
I return 0;
}
but TC does not delete files from the list
Problem WCX DeleteFiles()
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OpenArchive, ReadHeader, ProcessFile and CloseArchive are only called for listing and unpacking.
For packing and deleting, there is only one function called, which sends the list of files to be packed/deleted to the plugin. The plugin can then do with them what it needs, in the order it needs.
Refresh only occurs when either the size or the time stamp of the archive changes. If you use mapped files, Windows will NOT change the file time even if you write to the file, so you will need to call SetFileTime manually.
For packing and deleting, there is only one function called, which sends the list of files to be packed/deleted to the plugin. The plugin can then do with them what it needs, in the order it needs.
Refresh only occurs when either the size or the time stamp of the archive changes. If you use mapped files, Windows will NOT change the file time even if you write to the file, so you will need to call SetFileTime manually.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com