• MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    Quote:


    It's just that the docs suggest MUIM_Application_PushMethod as the only legal method of calling MUI-methods from another task.



    Correct. However, you can ask GUI task to call DoMethod() with specific parameters ;-)

    In methodstack approach you just pass copy of methods to GUI task and it does DoMethod() calling for you and optionally returning result.

    It is almost same what your brainstormed already:

    Quote:


    - add a signal/msgport to App_1 (or a MUIC_Proccess associated with it) and recreate what MUIM_Application_PushMethod does when getting triggered.



    It would be "add a signal/msgport to App_1 and call DoMethodA() with Msg from your IPC message".
    1 + 1 = 3 with very large values of 1
  • »19.06.16 - 17:56
    Profile