Morgan
04-01-2002, 10:38 AM
Hi,
I'd like to pass control from applet Foo to applet Bar. The catch being that I'd like to pass Bar a string argument. I thought about using ISHELL_SendEvent to pass a char* to Bar and then starting Bar using ISHELL_StartApplet. But I'm unsure about passing the char* -- is there any guarantee that it will be valid when Bar handles the event sent to it by Foo?
If anyone has any suggestions, they'd be most appreciated. Oh, and if what I want to do is truly brain dead or impossible it would be nice to hear about that also.
Thanks
I'd like to pass control from applet Foo to applet Bar. The catch being that I'd like to pass Bar a string argument. I thought about using ISHELL_SendEvent to pass a char* to Bar and then starting Bar using ISHELL_StartApplet. But I'm unsure about passing the char* -- is there any guarantee that it will be valid when Bar handles the event sent to it by Foo?
If anyone has any suggestions, they'd be most appreciated. Oh, and if what I want to do is truly brain dead or impossible it would be nice to hear about that also.
Thanks