Hello,
I have been trying to use a comms example from Neil Rhodes book. The part in
question is page 264. I have some differences as I am using the new serial
manager and Palm OS 3.5.
The Problem:
I have implemented the TimeUntilNextRead function in the same way as the
book. But I get nilEvents even when my form is not initailsed. I then
changed it back to a standard event loop with evtWaitForever, but I still
get a nilEvent, this event occurs when I hit a button and change to another
form. Surely EvtGetEvent should never return a nilEvent when called with
EvtGetEvent. This causes major problems with the example in the book as it
allows serial manager function to be called with an invalid port id (as I
havent yet opened it).
Thanks
Richard Anderson
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/