----- Original Message ----- 
From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 12:10 PM
Subject: Re: undefined identifier in Release target


> At 10:07 AM 3/11/2004, you wrote:
> >Thanks, Ben. I will do it ( need to look for your doc about manually
> >installing R3 again ) .
> >
> >Could you please explain a little more why. I checked the Chars.h and it
> >does have those definitions :
> >
> >#define vchrRockerUp 0x0132 // 5-way rocker up
> >#define vchrRockerDown 0x0133 // 5-way rocker down
> >#define vchrRockerLeft 0x0134 // 5-way rocker left
> >#define vchrRockerRight 0x0135 // 5-way rocker right
> >#define vchrRockerCenter 0x0136 // 5-way rocker center/press
> >
> >Also, why does it work in Debug, and not in Release target ?
>
> I realized something... do a search on your CW folders for
> "PalmOS_Headers"  -- it's likely you have an old copy of this from the
> original CW installation in the Palm OS Support tree, and a newer version,
> built from 5.0R3 headers in CW for Palm OS Support/Precompiled
> Headers.  Your app is picking up the old one, while the debug target is
> using the debug headers that have always been in CW for Palm OS Support.
>

Ben, yes, it fixes the problem. There was a old PalmOS_Headers under PalmOS
Support, and new one under CW for PalmOS Support/Precompiled Headers.

After renaming the old one , removing the project codes, and recompling, it
works.

The interesting thing is after that I renamed the old precompiled header
back to its original name, the project is still built correctly. Does it
mean CW writes that new info ( of the new precompiled header )  to somewhere
in the project file ?

Again, 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