Hi, I've been working on the hi-res - palmos5 update to Patience and have
run into a particularly frustrating bug that several users have pointed
out to me.

If the user tries to select any menuitem immediately after launching the
application then a crash occurs. Building a debug version of the app
doesn't seem to help, gdb does not seem to give any meaningful backtrace.
However, if the user causes any event to occur prior to selecting a
menuitem, the crash does not happen. I.e. tapping anywhere on the screen.

I have set alerts to popup at certain points and have concluded that the
mainform event handler gets called correctly, but the mnuEvent *seems* to
be corrupt.

I have tried pushing penup/pendown events onto the eventqueue to simulate
a tap and that does not change anything. I have also tried making
FrmSetFocus, WinSetWindow kind of calls to make sure that the form that I
think should be active actually is.

Does anyone have any ideas?

I have left the code with it's original BSD style license, so if anyone is
curious in looking at the source it's here:

www.whensdinner.com/downloads/patience-3.0.2.zip

Thanks,
Jason Turner

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to