Moderator
Posts: 2240 from 2003/2/24
Quote:
itix wrote:
I dont remember any reason why PushMethod would not work from another app. But PushMethod has some design flaws and for example limits how many methods you can have in queue.
A bit of testing resulted in SameLock() being called inside the library code as the culprit, still don't see why MUI or not on the calling app would matter.
Quote:
There is better way: use methodstack. This also allows sync'ing your methods (i.e. dont return until processed). You find examples from Ambient source code.
Well I'm allready inside Ambient here so that shouldn't be a problem ;)
It's just that the docs suggest MUIM_Application_PushMethod as the only legal method of calling MUI-methods from another task.