From: "palm" <[EMAIL PROTECTED]>

> I needed to have "PC Relative Strings" checked... that explains why
> calls to DbgMessage("Blah");
> crashed the device!

So you moved your strings from globals to the code segment.

>
> There's also a setting for "PC Relative Constants" that is unchecked
> normally.
> Does anybody think that is important?

If you need some constant global array, say
static const int vars[] = { 1, 2, 34 } ;
 "PC Relative Constants" setting will place this array into the code and you
can access it even in no globals conditions.
Without this setting the array would be placed among globals and any trial
to access it from say sysAppLaunchCmdSystemReset would lead to a crash.

With best regards,
    Jan Slodicka
    Resco, Palm Division


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

Reply via email to