(still talking to myself it seems... is it just me, or does anyone else feel 
stupid every time they try to find information on Palm Inc. hardware APIs? 
...don't answer that)

Most useful read I've had tonight was the actually HsPhoneEvent.h header file. 
Feeling better now. This may serve as (confusing perhaps) documentation for 
others with similar problems (app crash when incoming call received on Treo 
650).

PhLibRegister registers one's app so that it can be notified, via universal 
broadcast, of events pertaining to the service of interest. This universal 
notification comes in under the guise of launch codes such as 
"phnLibLaunchCmdEvent". Launch code received, event type retrieved, a match is 
found and I call my _appStop() function.

And... like with most launch codes, access to global vars at that time is not 
possible. Which is what I was doing in said appStop function.

Still not sure though about those EvtGetPen loops though...

Question: will a launch code interrupt an EvtGetPen loop?

Thanks?
Lonely Alex

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

Reply via email to