Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time slow by application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00778694
Message ID:
00779161
Vues:
26
>Hi,
>
>Thank for the advise. So you suspect that using the timer is causing the
>problem. So how should I solve it, add the SLEEP API in my application ?
>
Yes use the SLEEP API instead of the timer - the SLEEP API is built into Windows, so you just have to call it. It doesn't hog the CPU like the timer does.

>
>Else any better way for my application to check for some file indicator
>so that my application will post my database file insteads of using timer.
>
>
>
>>An application that uses the timer eats up a lot of CPU cycles and is probably screwing you up if it's running continuously. I recommend you look into using the SLEEP API function instead:
>>
>>http://www.news2news.com/vfp/?group=58&function=80
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform