• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

show % when calculating MD5

I am using this code: http://www.fichtner.net/delphi/md5.delphi.phtml

How can i show how many percent when i calculate md5?
0
din345
Asked:
din345
  • 3
1 Solution
 
CodedKCommented:
Din345 I am using the same code to calculate a file that is 3Gbyte.
It takes less than a second to take the Md5.
How are u going to use this ?

Maybe a progressbar and Application.ProcessMessages can do the job, but
you want be able to check it since it ends so fast !
0
 
din345Author Commented:
oh i didnt know that, i thougt it would take long time! thx!
0
 
CodedKCommented:
Thanks din345 for the points and the grade.
0
 
CodedKCommented:
Actually it may take some seconds for certain files...
BUT..
If you use Application.ProcessMessages so you can have a visual feedback and a Progressbar or a label
with the % value then you will slow down the process significantly.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now