My program has a form that allocates a lot of memory. When I get an incoming phone call when this form is open my app crashes. I am assuming that I need to respond to the phnEvtStartIncomingCall event and call my dtor. I have refered to the PhoneEventReceiver in the Palm samples and used the same calls for HsGetPhoneLibrary() and PhnLibRegister(PhoneLibRefNum, 'strt', phnServiceVoice) am I missing something? My event handler has a case for the phnEvtStartIncomingCall event, but that event is not being generated (either that or being sent) therefore my dtor doesn't run. Big bad crashing ensues. What am I missing?
Glen Peters www.KPSA.ca -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
