Hi !

I'm writing an application which make animations and call EvtGetEvent very 
often, as the parameter given to this function is between 0 to 2 ticks.

The problem is that sometimes, not very often ( about 1 time every 2 or 3 
hours ), this function return only after 3 to 5 seconds ( yes, seconds... ) 
while I asked it to wait no more than 1 or 2 ticks !

The event EvtGetEvent return after so much time is a nilEvent.

It seems to be related to the stylus, which my application use a lot : there 
is a lot of pen up, pen down and pen move events.

At each of these events, to be sure the problem is not related to the pen 
queue beeing full, I call EvtFlushPenQueue(), but it doesn't change anything.

The problem appear on a PalmIIIc with PalmOS 3.5

Do someone have any idea ?

What can EvtGetEvent be doing during so much time and how can I avoid it ?

Thanks.

-- 
Daniel Morais


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to