* Added 'TotalFile' and 'CurrentFiles' into the callback function.
* Added new functions.
i. procedure ISArcExReduceCalcAccuracy;
- this procedure plays a crucial role in stabilizing the 'Time Remaining' and
'Data Transfer Speed' calculations, ensuring they change
smoothly and not too rapidly.
ii. function ISArcExInitEx(WinHandle: Longint; TimeFormat: Integer;
Callback: TCallbackEx): Boolean;
iii. procedure ISArcExCallbackInterval(MSec: Cardinal);
* This update may support long paths and special characters in the path (not tested).
* Some improvements and bug fixing.
Code:
type
TCallback = function(OverallPct, CurrentPct, DiskTotalMB, DiskExtractedMB: Integer;
DiskName, CurrentFile, TimeStr1, TimeStr2, TimeStr3, Speed: WideString): LongWord;
type
TCallbackEx = function(OverallPct, CurrentPct, DiskTotalMB, DiskExtractedMB,
TotalFiles, CurFiles: Integer; DiskName, CurrentFile, TimeStr1, TimeStr2,
TimeStr3, Speed: WideString): LongWord;