before i use pol,i added a handle to PALM APP EVENT LOOP,i write like this, startapp.h: void EventLoop(EventType event);
so: in startapp.cpp as follows:
void CStarterApp::EventLoop(EventType event)
{
do {
readSms(); //this is my own "background" Handle procedure EvtGetEvent(&event, evtWaitForever);
if (! SysHandleEvent(&event))
if (! MenuHandleEvent(0, &event, &error))
if (! ApplicationHandleEvent(&event))
FrmDispatchEvent(&event);
} while (event.eType != appStopEvent);
}
but it's error! Error : undefined identifier 'ApplicationHandleEvent' StarterApp.cpp line 485 if (!ApplicationHandleEvent(&event)) why?
in pol,how can i add my readsms() procedure to system event loop? or there is another way to implement?
Thank you very much in advance!
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
