Hi, Kevin and Scott thank you very much for your replies. It seems to be very hard to combine the IPC stuff with the GUI event model, at least with regard to the means Win32::GUI offers. Receiving user defined events seems to be the main problem because there is no suitable access to the main event loop that I am aware of. And I can't think of a sensible way to call PeekMessage in a second application (except from scattering calls all over the code).
The solution I am going to use is a very ugly one: In both applications I set up a timer to trigger a timer event. This event is used to check for incoming messages in a file. Cheers, Peter