Ben Combee wrote:
>
> Hmmm... look in the CW runtime library for CWPalmOS.h and see the
> prototype for SysGetAppInfo.  That's an undocumented OS call, and it
> returns a pointer to a SysAppInfoType.  One of the fields of this type
> is the launch flags.
> 
> Now, this works fine on Palm OS 4.  On OS 5, it mostly works -- the
> structure you get back will not have all of its fields set correctly,
> but it should have a valid launchFlags value.  I've not yet tested
> this on OS 6, but I expect it acts like OS 5, since this is needed by
> the expanded mode runtime library in CW for Palm OS.

The launch flags sometimes can't be completely trusted.  I have no idea what
the rationale is, but the sysAppLaunchCmdCardLaunch code sets the
sysAppLaunchFlagNewGlobals and sysAppLaunchFlagUIApp flags.

One of the consequences is that the typical ROM version check recipe will put
up an error alert twice when an incompatible application is launched from a VFS volume.

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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

Reply via email to