Skip navigation.
Home
The QNX Community Portal

View topic - Pulses and PtAppAddInput() ...

Pulses and PtAppAddInput() ...

Isn't the name clear?

Pulses and PtAppAddInput() ...

Postby ChrisB » Fri Oct 10, 2003 2:06 am

Hi,

I'm doing some upgrades on a QNX based program with a application and Photon GUI executable.

I need to send specific msgs to the GUI.

The GUI create and registers a handler with PtAppAddInput().
The App does a MsgDeliverEvent.

Does anyone know how the arguments for MsgDeliverEvent (int, struct sigevent*) relate to the receiving handlers arguments of (void *, int, void *, size_t)?

Thanks,
Chris.
ChrisB
New Member
 
Posts: 1
Joined: Fri Oct 10, 2003 1:40 am

Postby cdm » Sat Oct 11, 2003 2:50 am

Actually, you should use PtCreatePulse, PtArmPulse and have the app deliver the pulse returned from PtArmPulse. That is much easier.
cdm
QNX Master
 
Posts: 789
Joined: Fri Jul 05, 2002 9:38 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest