Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect a file update
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01324776
Message ID:
01324890
Views:
28
>>Hola Carlos,
>>
>>I read that note too when I was writing my code, but then I also saw that it still works in Vista (I did run tests on vista and worked just fine) so I went ahead. We transformed a WorkToDo application that was using a timer and we had lots of complains about it being slow (we needed a relatively fast timer, I think it checked every minute and we even slowed it down to a couple of minutes) but running the same select statement on hundreds of computers "simultaneously" on the network was a speed killer. Now the same application, with the same select statement(s) in the same number of computers (or even more) runs very smoothly, and much much faster and without generating unnecessary network traffic.
>
>Just one more alternative to this loop - did you try bbtimer (or something like this from Downloads)? I haven't tried myself, but I heard it's much better than native VFP timer.

The timer fires just fine, the problem is the select statement firing in so many workstations, AFAIK. We even had some tricks to check on a secondary table first, and that helped, but nothing compared to the speed we get now for the same program.

By the way, for some COM objects where I could not use the foxpro timer, I used ccrpTmr which I am very happy with.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform