how to post multiple events from one applet to another applet?? | developer.brewmp.com how to post multiple events from one applet to another applet?? | developer.brewmp.com

Developer

how to post multiple events from one applet to another applet??

Forums:

hi all,
Iam new to BREW and Iam developing an application in which my applications needs to post some events to another application continuously.
can any one tel me how to add multiple events to the event queue??
If i write
ISHELL_PostEvent(pMe->a.m_pIShell,destination_class_id,EVT_USER,AVK_1,(uint32)NULL);
ISHELL_PostEvent(pMe->a.m_pIShell,destination_class_id,EVT_USER,AVK_2,(uint32)NULL); continuously in my program im able to post only one event i.e the first event (AVK_1).
But im able to add all the events to the event queue.(Because my PostEvent is returning is success)
Please let me know how to solve the above problem???

thanks in advance,
rajeshwari.

This is documented - but I made the same mistake too.
Read the documentation for ISHELL_PostEvent and ISHELL_PostEventEx - and use the latter.

This is documented - but I made the same mistake too.
Read the documentation for ISHELL_PostEvent and ISHELL_PostEventEx - and use the latter.