--- lklee wrote:
> The following error message is show and need for device 
> reset when I do install my program to Palm device. This 
> happened on both Palm emulator and my Palm Vx.
>   "myProgram" has just tried to access a global variable 
> at a time when global variable access  not allowed.  
> Tyically, this means that the application tried to access 
> the global variable after PilotMain was called with a 
> lauch code other than 'sysAppLaunchCmdNormalLauch'.

After an app is installed, it gets called with a launch code that does
not have access to global variables.  Look carefully at your PilotMain
(or StarterPalmMain, etc.).  Make sure that you are not using a global
variable except in a normal launch.  A common error is to check for the
ROM version and store the result in a global variable before checking
the launch code, but the problem could be anything that uses a global.


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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