Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy process with OLE ProgressBar
Message
De
26/03/1998 11:31:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/03/1998 09:46:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00086355
Message ID:
00087323
Vues:
51
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform