Hey folks,
I'm able to set an using the following code;
EventType newEvent;
MemSet( &newEvent,sizeof( EventType ), 0 );
newEvent.eType = firstUserEvent;
newEvent.data.generic.datum[2] = 5;
/* Add the event to the event queue */
EvtAddEventToQueue(&newEvent);
I also have a patch which traps the EvtGetEvent(). It picks up the Event
if (event->eType == firstUserEvent)
{
//play a sound
if (event->data.generic.datum[2] == 5)
//play a different sound
}
.
.
.
I get the first sound then a Fatal Exception on the condition.
Any thoughts?
Thanks,
Anthony
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/