> >Most of the day today I've been working on a bug that's found > >its way into our application. It a rather large application > (500k+). > <SNIP> > >Upon further debugging I got into the assembly in the > SelectDay() call > >and noticed that when crashing, it was making a call to > >FrmGetObjectIndex() with the _constant_ 10122 > >I open Constructor (I'm doing all this in codewarrior) and look > >at my highest form ID. Yup, 10100, and I don't have a control > >in that form numbered10122. > > > >I changed that form's ID to 10200, and everything appears to be > >working. Evidently the Palm OS forces the use of ID 10100 for > >the Calendar form that it uses in the SelectDay() function. > >Are there any other "known" form ID's that shouldn't be used? > > Not a new issue! > Simply, you shouldn't be using any ID's above 10000 > Which means your 10200 form ID is a problem waiting to happen. > > We also produce a very large application with many, many > screens and find this rule very restrictive. > > Can Palm Source please formally define other ranges of IDs > that can be used by other programs outside of the 1 to 10000 range. > (note there are a couple of IDs you can't use even within > this range, see archives for details) > > Can we use 33000 to 64000 ? This'd be a very good range > to use, if allowed. >
Bah, not what I wanted to hear. I've since taken the 10200 form out of the application to avoid problems. I guess I'll have to find another way to work around this. I would like the think that ID's for 20000 and up would be safe to use, but I guess I won't until we receive an official word stating that we can. We've started to develop a "plug-in" type architecture for the main application and its smaller, modular components. I guess I'll have to take that idea to the next level to make things work. :-/ Thanks everyone for the input. Eric --------------------------------------- Eric Janus - Embedded System Developer [EMAIL PROTECTED] AustinDetek Inc. 100 Holleder Pkwy. Rochester, NY 14615 Office: (585)254-6767 http://www.austindetek.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
