>Great idea . Thank You ! It worked nice , except the time . The normal copy process of a 16,5MBytes file lasts 24 seconds . The copy process using low level functions in MS Visual Fox lasted 75 seconds for the same file (!). In the do ... while routine I introduced the Fflush() function and the process lasted 28 seconds because I noticed that most time was lost at the end of the copy process (the transfer from cache memory). Sorry for waisting your time if you already knew all these . Good luck !
Oh, you do it for one file. Than you could also try to increase the value of fread() from 65535 to filesize/100 or /20. So updatetherm would be called as much needed depending on the bar count (ie: if each bar in therm correspond to 5% then fread() would use fsize/20). I think it'll even be faster.
Cetin