> Does anyone know the difference between
> sysTrapSysAppLaunch and sysTrapSysUIAppSwitch?

As Richard said, these are traps corresponding to OS functions:
- SysAppLaunch is used to sublaunch an application
- SysUIAppSwitch is used to exit the current app and start up another one

SysAppLaunch is like a regular subroutine call. SysUIAppSwitch enqueues an
appStopEvent and stores the info about which app to switch to in a global.
When the current app responds to the appStopEvent by returning, the OS will
launch the app you specified. (This could actually be the same app, but this
isn't typical.) The code that's responsible for all this is the UIAppShell
application. I'm pretty sure the source for this app is available so you can
see how it works.
--
Danny @ Palm

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

Reply via email to