In the Constructor for Palm OS PDF documentation, it is stated:
All resources are assigned an integer resource ID. For applications, resource IDs should be less than 9999. Resource IDs of 10000 or above are reserved for use by Palm OS.
Is this limit really important ? My application resource is about to break this ceiling (Constructor allows me to create new forms with IDs above 10000), what kind of bug should I expect if it does ?
Is this limit still relevant on Palm OS 5 and 6 ?
Yes, this limit is very important. If you use resources with ID's greater than 10000, you'll step on IDs used by Palm OS. This can cause the system to malfunction -- for example, the user could open the find dialog and get one of your forms instead, or strings displayed by the OS could be overlayed by yours.
This limit did not change in Palm OS 5. In Palm OS 6, it is still an issue with PACE applications, AFAIK.
I'm actually surprised -- if you've got enough forms to need to exceed that number using Constructor, I'd expect you to also be getting near the absolute resource limit of the Macintosh format. You may want to switch to PilRC, which will allow a much tighter packing of resource ID numbers.
-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
