When "MyApp" gets launched by another application with the call
SysAppLaunch(...), I get the following message in POSE:

""MyApp" 1.0 has just tried to access a global variable at a time when
global variable access is not allowed.  Typically, this means that the
application tried to access the global variable after PilotMain was called
with a launch code other than 'sysAppLaunchCmdNormalLaunch'.  The
last launch code observed by the emulator was
'sysAppLaunchCmdNormalLaunch'."

Is "MyApp" not allowed to use global variables if it gets launched by
another app?  I've tried the exact same code on a Palm Vx device
without getting any errors.  By the way, "MyApp" gets launched with
the 'sysAppLaunchCmdNormalLaunch' as the message above shows.

If I can't use globals, then what should I do?

I'd be glad for any input!

Kind regards,

/Bulent Gecer





-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to