"Andy Black" <[EMAIL PROTECTED]> wrote in message
news:54659@palm-dev-forum...
>
> Hello All,
>
> Has something broken with the PalmOS Glue functions in the 4.0 SDK? I
am
> using the TxtGlueCharIsDigit macro and I am getting the following
error in
> CodeWarrior:
>
> Error   : undefined identifier '_DI'
> IVRateCalc.c line 398   ((TxtGlueCharAttr(strP [srcP]) & _DI) != 0)
>
> Well, I replaced the _DI with charattr_DI. I then get the following
error
> when trying to compile:
>
> Link Error   : Spaz:Users:andy:Documents:IVRate Calc:Src:IVRateCalc.c:
> 'TxtGlueCharAttr' referenced from 'StringToDouble' is undefined.
>
> I don't really know what to do at this point. Should 'TxtGlucCharAttr'
be
> 'TxtCharAttr'?

This is a problem with the glue header files.  You need to include
<CharAttr.h> first, then include <TxtGlue.h>.  This will provide the
needed definitions to allow compilation.  Palm modified TxtMgr.h to use
new forms of these macros in the Palm OS 4.0 SDK, but they failed to
update TxtGlue.h.  You can also fix this by altering the glue header to
use the charAttr_DI form rather than _DI.



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

Reply via email to