I am playing around with PilRC and met this problem. My .rcp file has the following at the end :
NAVIGATION ID MainForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID MainAField JUMPOBJECTID MainAField BOTTOMLEFTOBJECTID MainBButton BEGIN ID MainAField BELOW MainBButton ID MainBButton ABOVE MainAField END
The first time I compile this, it works fine., and the corresponding pilrc-generated .h file has the following def: #define kFrmNavHeaderFlagsObjectFocusStartState 1032
You need to add you own #defines to the top of your RCP file to provide the correct values for these. If you look in the example files, you'll see what you need to write. Since you left out the #define, PiLRC is autogenerating one for you with a bad values.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
