Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with Timer accuracy...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00764190
Message ID:
00764963
Vues:
26
Charlie,

You should just use the solution offered earlier. set a timer custom property to seconds() and then in the timer event use the delta between the current seconds() value and the saved value to get the total elapsed time. This will run the same on all speed machines.

>Thanx for getting back to me. I tried the C++ timer that was suggested, but it was only capable of 20ms resolution, while the Fox timer was capable of greater than 10ms resolution. This is becuase C++ timer sits outside VFP runtime in an FLL. I was thinking of possibly setting up some sort of external calibration routine to adjust timer interval to different CPU's.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform