I am running two separate GUI applications both written in Nim and compiled to 
run either on GTK or MSW. I need a way for one of the apps to cause an event to 
appear in the other app's event queue. It would be nice if the event could 
carry a data string (at most 255 bytes). The app needing to receive the event 
uses startProcess to begin execution of the app which will cause the event.

Currently this is implemented using file creation and a special BUSY loop which 
also iterates the receiving GUI event loop.

A Named Pipe with "read peeking" might solve the problem - but I cannot find 
Named Pipes in the Nim standard library.

I noticed something in MS Windows 10 called Universal Windows Platform, but I 
doubt it would be in the oldwinapi module - and would not support the GTK 
version.

Any kind of hint or pointer would be appreciated.

Reply via email to