‎2009 Feb 27 12:42 PM
Hi
I have a modul pool, it's possible that in this modul-pool i catch a event raised in another function?
I've created a Z-Class with a static event and a method that raises the event
In the modul-pool i've created a local class to receive the events
In this local class i've declared a method called HANDLE_EVENT for event ... of class Z-CLASS...
i implement this method
In the modul pool i put the set handler WITHOUT FOR ADITION
there is another function (launched through XI) that call the method of the ZCLASS that raises the event
but i'm not able to link the raise of this event to the method HANDLE_EVENT of my local class in my modul pool
Hope somebody bring some light to me
Thanbks and regards
‎2009 Feb 27 2:55 PM
Hi there,
I think, what you want is not possible, cause your local class is not "alive" during the call of your zclass.
To catch the event with your local class, you need to create an object of that class, that is available in your Zclass Method, raised by XI.
regards Karl
‎2009 Feb 27 2:55 PM
Hi there,
I think, what you want is not possible, cause your local class is not "alive" during the call of your zclass.
To catch the event with your local class, you need to create an object of that class, that is available in your Zclass Method, raised by XI.
regards Karl
‎2009 Mar 20 9:10 AM
I solved this issue using shared object memory
It's similar to EXPORT TO MEMORY / IMPORT FROM MEMORY but it offers more posibilities
Thanks everyone