Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding Timers Part Duex
Message
From
24/08/2004 19:42:27
 
 
To
20/08/2004 12:20:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00932987
Message ID:
00936175
Views:
26
Thanks for the suggestion.

The code seems to be working properly now that I'm not using bind events.

>
>I'm actually doing away with the bind events and it works on the slow machine as well.
>

>
>This show a bug into VFP8.
>
>When the execution is into the Timer event, other Timer's events are not processed;
>but this is not true for a Bind event linked to the Timer event.
>
>The solution is that of implement a mutex into VFP:
>
>
>
>PROCEDURE delegateTimer
>IF TestAndSetMyMutex
>   .... execute the code
>ENDIF
>
>
>Implement a native VFP mutex is not immediate ( a way is to use a two bits number );
>with Windows API mutex you can found another solution ( more slow ).
Previous
Reply
Map
View

Click here to load this message in the networking platform