>Dear Fellow Developers and Palm Guys:
>
>I am building a hack [LapTopHack] which does an
>
> EvtEnqueueKey (chrSpace, 111, 0);
>
>job [Err EvtEnqueueKey (WChar ascii, UInt16 keycode, UInt16 modifiers)].
Why are you setting the keycode to 111?
>It runs perfectly with all OSs [hardware or POSE] tested EXCEPT it gives a
>fatal exception with the Palm 3 with OS 3.3 [both on real hardware and POSE].
>POSE says "bus error".
>
>NOTE. It runs perfectly with the "same" OS 3.3 on the Palm Vx [hardware or
>POSE].
>
>If I replace EvtEnqueueKey () with an EvtAddEventToQueue (&event) job with a
>properly defined event, then everything works fine [void EvtAddEventToQueue
>(const EventType *event)].
>
>Tested:
> 3.1 is OK [Palm 3x and Visor]
> 3.5 is OK [Palm Vx, TRGPro]
> 3.3 is NOT OK with Palm 3 but OK with Palm Vx.
>
>Is this new? What the heck is going on? Please advise me.
Got me. I tried making this exact same call from an app, on Poser
emulating a Palm III, with Palm OS 3.3 (debug), and it worked fine. A
stack crawl of the crash would be interesting.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/