This is a basic "C" problem and has nothing to do with Palm OS, or with the size of your application..
A 2 byte unsigned integer can hold a maximum value of 65535. Obviously, you're trying to stuff 10 pounds of a number into a 5 pound sack. Either change your definition from a 2 byte integer to a 4 byte integer, or use smaller numbers. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
