Yes, Ive been able to run the application successfully on palm OS 4.1
emulator as well as the other versions with no problems, up until I get to
palm OS 5. At palm OS 5, when gremlins are run it goes into an infinite
loop. On 5.2 it comes up with form.c, Line:5696, Bad form.
I found the form it was talking about, and the only thing on that form is a
bitmap image, nothing is modified as the screen only shows for about 2
seconds. The image is placed on the screen within the bounds, and ends
within the bounds of the designated area(it is all visible). --works fine
with palm os 3.2, 3.5, 4.0,4.1,4.2...
Thanks! -- form code follows
Pilrc code....
FORM ID SPALSH_FORM AT ( 0 0 160 160 )
NOFRAME MODAL NONUSABLE
BEGIN
TITLE "Quit program"
FORMBITMAP AT (0 14) BITMAP IMG_SmokingGuyBMP
END
BITMAPCOLOR ID IMG_QuitGuyBMP "YOUCAN.bmp" NOCOLORTABLE COMPRESS
-----Original Message-----
From: Ben Combee [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 9:13 PM
To: Palm Developer Forum
Subject: Re: form.c, Line:5696, Bad form
At 03:31 PM 5/10/2004, you wrote:
>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/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/