Followup to "Not using PtMainLoop"

In reference to the message below and the previous “Not using PtMainLoop”
posting.
I am using QNX RTP 6.1.0. Any other thoughts?


“Wojtek Lerch” <wojtek_l@ottawa.com> wrote in message
news:9qn3lu$5g1$1@nntp.qnx.com

Mark Weber <> mweber@nanosphere-inc.com> > wrote:

What happens above is that the rcvid for the mouse events is 0 (a
pulse)
with pulse->code equal to -6. I know that these are photon events but
when passed to PhEventRead() it’s returned as a non-photon event. One
other
note is that I modeled this after the PhEventRead() reference page code
example.
I compiled the reference page code example and had the same exact
problem.

There was a bug in QNX 6.0 that caused PhEventRead() to return 0 instead
of failing with ENOMSG, but that bug was fixed in QNX 6.1. Are you
using 6.0?


Wojtek Lerch QNX Software Systems Ltd.

Mark Weber <mweber@nanosphere-inc.com> wrote:

In reference to the message below and the previous “Not using PtMainLoop”
posting.
I am using QNX RTP 6.1.0. Any other thoughts?

Would you mind posting your code here?


Wojtek Lerch QNX Software Systems Ltd.

Wojtek Lerch <wojtek_l@ottawa.com> wrote:

Mark Weber <> mweber@nanosphere-inc.com> > wrote:
In reference to the message below and the previous “Not using PtMainLoop”
posting.
I am using QNX RTP 6.1.0. Any other thoughts?

Would you mind posting your code here?

Never mind. The problem has been solved in another thread.

BTW Could you please try to keep postings related to the same problem in
one thread? It gets confusing when details of a problem are scattered
among three threads and you have to read them out of order…


Wojtek Lerch QNX Software Systems Ltd.