You dont have access to global variables with most launch codes except sysAppLaunchCmdNormalLaunch. I think that "List #1" is will be stored in the global data area.
-- Regis St-Gelais www.laubrass.com -- "David Vestal" <[EMAIL PROTECTED]> a �crit dans le message de news:[EMAIL PROTECTED] Heck, it even crashes like this: // This is the entire program: Palm OS 3.5, "small" code model. #include <PalmOS.h> struct B{ B(){ char c[16]; StrCopy(c, "List #1"); } }; UInt32 PilotMain(UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags){ if(cmd == sysAppLaunchCmdNormalLaunch) B b; // OK! if(cmd == sysAppLaunchCmdExgReceiveData) B b; // Fatal Exception! return errNone; } -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
