Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 14-01-2023, 09:08
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 600
Thanks: 606
Thanked 662 Times in 235 Posts
Carldric Clement is on a distinguished road
Nothing happen to see the Memo and also the Label which is quite on progressing hash generated on Delphi FMX. But the result works fine.

Generate with the directory
Code:
function GenerateHashMultiCallback(FileName: WideString; FileSize: extended;
  FileProgress, TotalProgress, TotalFiles, FileCounted,
  StatusCode: Integer): Boolean;
begin
  Form5.Label9.Text := Format(XH_FILENAME, [ExtractFileName(FileName)]);
  Form5.Label10.Text := Format(XH_FILEPOSITION, [ByteOrTb((FileSize * FileProgress) / 100), ByteOrTb(FileSize)]);
  Form5.Label11.Text := Format(XH_PERCENTAGE, [FileProgress]);

  Form5.Label12.Text := Format(XH_PERCENTAGE, [TotalProgress]);
  Form5.ProgressBar1.Value := TotalProgress;

  case StatusCode of
    H_FILE_HASHING_DONE:
      Form5.Memo1.Lines.Add(FileName + '  ... Done!');

    -1,-4,-5,-6,-7,-8,-9,-10,-12,-13:
      Form5.Memo1.Lines.Add('>>> Error code:  ' + IntToStr(StatusCode));
  end;

  Form5.Label14.Text := Format(XH_GENERATESTATUS, [FileCounted, TotalFiles]);

  ProcessMessages;
  Result := CancelAll;
end;
Attached Images
File Type: jpg Screenshot 2023-01-15 000449.jpg (67.1 KB, 212 views)
File Type: jpg Screenshot 2023-01-15 001013.jpg (65.7 KB, 209 views)
File Type: jpg Screenshot 2023-01-15 000719.jpg (73.2 KB, 210 views)
File Type: jpg Screenshot 2023-01-15 000734.jpg (76.6 KB, 209 views)

Last edited by Carldric Clement; 14-01-2023 at 09:11.
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Compression For Archiving brispuss PC Games 12 03-01-2020 14:34
Creating a compressed.bat and uncompressed.bat for game files red01 PC Games 14 10-03-2019 07:01
Frontlines: Fuel of War DCore PC Games - CD/DVD Conversions 6 31-05-2008 19:14
WHat is the point??!!! Quertas of Atlantis General Gaming 6 27-05-2006 23:35



All times are GMT -7. The time now is 12:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com