"Eli Mandel" <[EMAIL PROTECTED]> wrote in message news:66216@palm-dev-forum... > > I have written an application that primes the SrmWakeUpHandler() allowing my > handler to be > activated when other applications are active. However, when I attempt to > send initiate an > event using the EvtAddEventToQueue() message my application encounters a > Stack Overflow. > Can someone please tell me why, and how may I remedy this.
SrmWakeUpHandler routines happen at "interrupt time". The only notification mechanisms you have are SysNotifyBroadcastFromInterrupt (Palm OS 4.0 and later) and EvtEnqueueKey. Posting an event using EvtAddEventToQueue is forbidden, since its not reentrant-safe. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/