|
|
|
#1
|
||||
|
||||
|
small error, if file for check not exists - error.
p.s. in attachment working module+example for those who don't know how to use this library. p.p.s. can you provide me example how do you create callback for inno setup in delphi without CallbackCtrl.dll/InnoCallback.dll/CallbackAddr ? |
| The Following 5 Users Say Thank You to altef_4 For This Useful Post: | ||
ffmla (18-06-2017), Nemko (22-05-2018), peterf1999 (17-05-2014), Razor12911 (12-12-2014), y_thelastknight (17-05-2014) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
Code:
type THashProgress = function(OverallProgress,FileProgress: Integer): Boolean of object;
function CheckFileSHA1(Filename,SHA1HashHex: AnsiString; PctOfTotal: integer; callback: THashProgress): integer export; stdcall;
begin
...
if not callback(FileProgress+OverallProgress,round(FileProgress*100/PctOfTotal)) then begin
Result:=-1;
break;
end;
...
end;
Last edited by peterf1999; 17-05-2014 at 10:44. |
| The Following 2 Users Say Thank You to peterf1999 For This Useful Post: | ||
altef_4 (17-05-2014), y_thelastknight (18-05-2014) | ||
|
#3
|
||||
|
||||
|
| The Following 4 Users Say Thank You to peterf1999 For This Useful Post: | ||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| Inno Setup: Additional Libraries | altef_4 | Conversion Tutorials | 50 | 21-10-2020 09:59 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Tutorial using CI 8.0.0 | yener90 | Conversion Tutorials | 424 | 21-10-2014 09:49 |