A-ha! This might be the problem. I will check these again. I did switch
from 2i library to 4i library recently...
Thanks!
Samir
Scott Johnson writes:
>
> Samir Raiyani wrote:
> > Essentially, passing parameters that are only used in simple
> > integer-to-integer assignment statements does not work correctly.
>
> How big is your 'int' type? There could be a mismatch between code
> using 2-byte ints and code using 4-byte ints. Here is a clue:
>
> > (initially: idx = -65536, i=1)
> > CDxListDB::getDxByIndex(int idx)
>
> The default in Palm projects is 2-byte ints. You can't put -65536 in 2
> bytes so this code must be using 4-byte ints. Is this a change you made
> deliberately? If so, is it consistent in all files? Is any of this
> code in a separately compiled library? Are you linking in the correct
> startup code library for your int size? ("2i" -vs- "4i")
>
> -slj-
>
>