I know what you're gonna think, but don't worry, I already read extensively through the archives ALL the messages related to the timers issues.
I actually implemented a timer that works fine in my application. I used the usual method, with EvtGetEvent(&event, timeOutValue) and nilEvent, and checking whether the nilEvent is the good one and not just generated by the system, and all that stuff ... So now I'd like to make a hack to hack Graffiti and replace it with my own handwriting recognition engine. (I already talked about that in previous posts) People around have successfully persuaded me to use a hack manager in order to do so. But that still remains the problem of the timers, which are crucial for my recognition patch. Because my recognition engine can also recognize multi strokes characters, so I can't just call the recognition procedure on a penup and I obviously need a timer that calls the recognition if no strokes have been entered for a certain amount of time. Now the problem is : how do I manage to get a timer inside a hackmaster hack ? Because if I get it right, there is no longer any event loop for a hack (like there is for a form type of application), so no EvtGetEvent either .... so I'm stuck ! I'm really gratefull if you even just took the time to read this post until here ! Does anyone has an idea ? or maybe I'm just getting it wrong with the hack event loop and all that ? I don't know but maybe I'm not the only one having such a problem, so it might be interesting to find a solution. Renaud. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
