I'm trying to catch a sysAppLaunchCmdNotify at my PilotMain function. It
gets the launch code correctly, since I registered my Notify correctly, but
in my PilotMain function I try to execute a FrmAlert(), ant it doesn't works
well. Why???

take a look at my PilotMain function:

...
UInt32 PilotMain(UInt16 launchCode, void *cmdPBP, UInt16 launchFlags)
{ 
 Err err=0; 
 if(launchCode==sysAppLaunchCmdNormalLaunch) // here it works fine...
 { 
  if((err=StartApplication())==0) 
  { 
   EventLoop(); 
   StopApplication();
  } 
 } 
 else if(launchCode==sysAppLaunchCmdNotify) {
   FrmAlert(alert_Sobre);  // here the POSE returns an error to me... WHY???
 }

 return err;
}
...




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

Reply via email to