Hi,
Ive been testing my program on various simulators, for example "Palm OS 5 Simulator\Debug" Where it crashes early and alerts me to the following error: "form.c, Line:5696, Bad form"
yet when I run it on release simultors, it runs alright. But I just don't get why it works on the release versions, and not the debug version...
Bad Form errors occur when something's wrong in the form, and the debug code can't verify it. This usually happens when you modify values in the form through buffer overruns; for example, setting a label on a control that's longer than the space allocated for the label in the resource. Having the form's memory allocation be out of sync with the number of items in the form can also cause this.
Can you run your application using POSE, with all debug checks on and a debug version of the 4.1 ROM?
-- 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/
