> Anyone know why the second one would give me the fatal error?

When an application is started with SysAppLaunch(), does it have access to
global data?  I don't think it does.

Since you are using the sysAppLaunchCmdNormalLaunch flag, the app you're
starting probably assumes that it has access to global data (as it does when
it is normally launched).  The first time that it tries to use a global
variable, it would crash.

OTOH, when you use SysUIAppSwitch with sysAppLaunchCmdNormalLaunch, the
application does have global data, just as it would if launched from the
launcher.  Thus, it doesn't crash.

I don't know anything about the Mail SDK, but my guess is this is what
you're seeing.

Jeff






-- 
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