Hi. 
        
        
        I have this problem:
        On the simulator of Palm OS 5.3 and the emulator of Palm OS < 5 works.
        On the simulator of Palm OS 5.2 and Palm OS 5.0 I receive the following error:
                "MemoryMgr.c, Line:3583, Free handle"
        when I call EvtGetEvent(&event, evtWaitForever); 
        I noticed that this error appears only after the event is ctlSelectEvent.
        
        Here is the code I wrote:

        void CPalmApp::EventLoop()
        {
                Word error;
                EventType event;
                BOOL bHandled = FALSE;
                do
                {
                        EvtGetEvent(&event, evtWaitForever);
                        if (! SysHandleEvent(&event))
                            if (! MenuHandleEvent(0, &event, &error))
                                if (!(bHandled = HandleEvent(event)))
                                                FrmDispatchEvent(&event);
                } 
                while (bHandled || event.eType!=appStopEvent);
        }

        What could be wrong?

Regards,


Ciornei Mihai - Bogdan,
Analyst programmer
TRANSART ltd 



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

Reply via email to