On 10/23/06, Greg <[EMAIL PROTECTED]> wrote:
I am doing what I think is a pretty standard routine:static void AddUserEventLoop(SQLUserID* pSQLInfo) { EventType event; do { EvtGetEvent(&event, evtWaitForever); if (! SysHandleEvent(&event)) if (! AddUserHandleEvent(&event)) if (! AddUserMainFormHandleEvent(&event, pSQLInfo)) FrmDispatchEvent(&event); } while (event.eType != appStopEvent); } But I am getting a Emulator crash when I call the Palm OS routine: FrmDispatchEvent(&event)
Did any of your code modify the pEvent structure before it got passed to FrmDispatchEvent? Have you looked at this in the debugger here to validate that the event looks valid? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
