That information is documented at least in SystemMgr.h. Also, you can look at
the launch flags passed to your application. For instance,
sysAppLaunchFlagNewGlobals is set if globals were set up for you. I think that
sysAppLaunchFlagSubCall also means that globals are OK to access (since your
application is basically re-entering itself). Check the sample applications for
how these flags are checked and used.
-- Keith
Tom Zerucha <[EMAIL PROTECTED]> on 11/29/2000 06:22:13 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: Tom Zerucha <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: Which startup commands create globals, etc.?
NormalLaunch basically starts my program with data, globals, etc.
But OpenDatabase, and "beam receive" ends up starting my app.
Is there a list of which startup codes do create the entire runtime
environment and which do not?
Or is this documented under each call and what should I look for?
I'd prefer a table with yes/no for this, but I don't know if there are
different pieces - globals, stack, etc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/