Are you changing an event type in your handlers or anything like that?

K

-----Original Message-----
From: Bill Andreozzi [mailto:billandr@;statuspro.tv]
Sent: Wednesday, October 30, 2002 6:49 PM
To: Palm Developer Forum
Subject: EvtGetEvent - giving an Unallocated chunk of memory


I only get this on 3.3 gray devices AND only since updating to the 5.x SDK.
here is my code, after looping a few times, I finally get this message:

void
AppEventLoop (void)
{
 UInt16 error;
 EventType event;

 do
 {
  EvtGetEvent(&event, evtWaitForever);

  if (! SysHandleEvent(&event))
   if (! MenuHandleEvent(0, &event, &error))
    if (! AppEventHandler(&event))
     FrmDispatchEvent(&event);

 }
 while (event.eType != appStopEvent);

}// end of AppEventLoop

thanks - bill




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


------------------------------------------

The information in this transmittal and any attachments is privileged and confidential 
and is intended only for the recipient(s) listed above. You are hereby notified that 
any unauthorized distribution or copying of this transmittal or its attachments is 
prohibited. If you have received this transmittal in error, please notify Invivodata 
immediately at (831) 438-9550.

------------------------------------------


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

Reply via email to