Hi -
I thought this was strange.
In most Red Mercury games, the main form resource has no objects on it. The
form just sits there, and everything is drawn on top of it. penDownEvents on
game objects are handled internally. penDownEvents that aren't on game
objects are passed through to the system event handler.
Under PalmOS40dr2-en-VZColor-dbg the OS crashes if a penDownEvent is passed
on to a form with no objects on it.
If I add one object (a LABEL that displays a single space), the crash does
not happen.
When the penDownEvent is passed on to the form with no objects:
The emulator says:
"TheApplication" 1.0 has just performed an illegal operation. It performed a
"bus error".
The debugger says:
'PrvPointInObject'
+$007A 100743FC *BTST #$0007,$000A(A0)
The A0 register says:
A0: 22680008
The stack trace says:
FrmDispatchEvent+0046
PrvSendEventToForm+0036
FrmHandleEvent+0088
PrvPointInObject+007A
The application is built under GCC/Pilrc.
The emulator is v3.0a8e16.
Hope that's helpful to someone,
Scott
--
Scott Corley <[EMAIL PROTECTED]>
Red Mercury, LLC
http://www.red-mercury.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/