In article <92464@palm-dev-forum>, [EMAIL PROTECTED] says...
> 
> As soon as I add an rcp file to my CodeWarrior project, I get a slew of
> linker warnings.  The first is
> 
>     Warning: The resource type 'FONT' (0x464F4E54) has been redeclared
>     UIResDefs.r line 543 };
> 
> A bunch of similar warnings follow, for different resource types.

Look at the .r file that PilRC created -- does it have

#ifndef __PALMTYPES_R__
#include "UIResDefs.r"
#endif

at the top?  If not, you need to update your plugin using the latest 
version from Neils' site -- the default CW projects set UIResDefs.r as a 
prefix file for the Rez compiler, and the manual inclusion of the file 
at the top of the Rez output is conflicting.

You can also just clear the prefix setting for the Rez compiler, which 
is really only needed if you want to disassemble RSRC files to see the 
source which creates them.

> My rcp file has (only) one line:
> 
>     BITMAPCOLOR ID 1 "demo0001-017.bmp"
> 
> Can anyone tell me what's going on?  I am using CW 8.1 and PilRC plugin
> 2.9p2.

Upgrade to CodeWarrior for Palm OS 8.3 when you get a chance.
-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Get help at http://palmoswerks.com/

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

Reply via email to