> > >Can anyone suggest why this sclEnterEvent is being turned into a
> nilEvent in
> > >the queue, and better yet what I can do to work around the problem?
> >
> > In Palm OS 5, events are converted to an internal format, then
> converted
> > back to 68K format when passed to 68K callback functions.
> >
> > Its possible that if an event is ill-formed, that it will be turned
> into a
> > nil event by the OS.  I'm curious, how are you getting "bar->id"?
> I would
> > think that could possibly not get a valid value on Palm OS 5, since
> you
> > shouldn't be directly accessing the internals of Palm OS data
> > structures.  However, the actual release ROM and release device
> might allow
> > this.
> >
> > --
> > Ben Combee <[EMAIL PROTECTED]>
> > CodeWarrior for Palm OS technical lead
> > Palm OS programming help @ www.palmoswerks.com
>
...
> Well, I guess since I've got the source code and can modify it to my
> liking, I could try converting all the code to userevents rather than
> sclevents.  Perhaps that would allow me to keep pace with OS5 (pun
> intended).
>
> David Thacker
>

Just in case anyone is keeping score, converting my code to use userevents
rather than standard sclevents did solve the problem.

David Thacker


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

Reply via email to