> "Craig Torell" wrote
> >
> > The Palm folks asked for any errors we found in 4.0 to
> > be reported here, so here's a little one that can have
> > big results:
> >
> > The 4.0 SDK Reference documents StrLen() as returning a UInt16, but it's
> > declared as an Int16 in StringMgr.h.
> >

> From: Chris DiPierro
>
> This is still the case both in the SDK and doc...is there
> a resolution?
>

It appears that it changed in StringMgr.h from UInt in 3.1 to Int16 in 3.5
and 4.0.  The docs still say unsigned, but it appears that it's actually
returning a signed int.  However, this resolves nothing.  I think Palm
should either change the docs or change the header (and the function) to
return an unsigned int.


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