-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"jacky Cheung" <[EMAIL PROTECTED]> writes:

| Hi, I have a menu bar for my application but it crashes in the emulator when
| I press on an item of the menu bar (I got the 'Application has just read
| from an unallocated chunk of memory' error).  However, if I access the menu
| item using the graffiti shortcut or in real device, no problem.  Any idea?

I encountered possibly same error today.

My application have 1 main form and 1 popup form and 3 menus.
The popup form sends frmUpdateEvent to main form when closed by user
to update the contents of the main form.  Event handler of the main form
call FrmEraseFrom() on the main form then FrmDrawForm().

The error occurs when any of the menu is selected just after
the popup form is closed, i.e. calls FrmUpdateForm() and send
frmUpdateEvent, but won't occur:

o when a button is tapped on the main form which exactly the same function
  as one of the menu.
o when the graffiti command shortcut of the menu is entered.
o if the main form is updated between `popup form close'
  and `menu selection'.

I commented out the line which calls FrmEraseForm(), the error disappered.

And the error occurs on PalmOS3.5.1 ROM of my TRGpro with gremlin mode
and normal mode of POSE but won't occur on PalmOS3.1J ROM of my
WorkPad30J and real devices.

I'm using Palm OSR Emulator 3.2 on Windows NT 4.0 SP6 Japanese edition.

And I'm using prc-tools-2.0 and pilrc-2.6 to build my application.
My application is not multi code resource application.

Mr "RiegleT" <[EMAIL PROTECTED]> wrote a message on May 9, 2001
with the subject "Gremlin crash on menu event - revisit".  Mr Steve
Achelis wrote a message on Apr 12, 2001 with the subject "Gremlin
crash on menu event".I guess it's the same problem too.
(Andunanswered too.)

Sorry for my poor English.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (OpenBSD)
Comment: no comments

iD8DBQE7frRvUHt8kCIJ1VoRAotQAJ9mJ0cR48GwAvWjCNNflgsOG03t/wCfcz3k
HPd+SypXdbliRAizX5Y3PQM=
=7i5+
-----END PGP SIGNATURE-----

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

Reply via email to