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

Then if I touch the .rcp file ( do anything in order it will be re-compiled
, like putting in an Enter ) and recompile , I will have the following
error:
Error : macro 'kFrmNavHeaderFlagsObjectFocusStartState' redefined

If I delete or uncomment this line, it will be compiled without any problem
until the next time the .rcp file is changed.

Have I made something wrong ?

Thanks,

Vu



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

Reply via email to