Neil Rhodes wrote:
> [ Summary of the problem so far: Set a wakeup handler and then when it goes
> off try SerReceiveCheck or SrmReceiveWindowOpen, and it returns 0, meaning
> no data available]
>
> I think I may have an answer.
>
> If you post a key with EvtEnqueueKey, it'll cause any pending EvtGetEvent to
> return. Then, you can just look for the specific key in your event loop.
>
What if I don't have an event loop? I'm working on a virtual driver so the data has
to be dealt with in the wakeup handler. The
virtual driver doesn't have a read function so it can't just wait until then, its only
chance to read the data is when the wakeup
handler is called.
Craig
>
> Neil
> --
> Neil Rhodes
> Calliope Enterprises, Inc.
> 1328 Clock Avenue
> Redlands, CA 92374
> (909) 793-5995 [EMAIL PROTECTED] fax: (909) 793-2545
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/