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?
LVL 1
din345Asked:
Who is Participating?
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.