So I’m trying to setup a pipe for a little IPC between a Juce app and a non-Juce app. In my Juce app I’m subclassing InterprocessConnection and creating an instance and calling InterprocessConnection::createPipe(“myPipeName”);
In my non-Juce app, I’m doing regular win32 with CreateFile to connect to the same named pipe.
The Juce app, in InterprocessConnection::readNextMessageInt() only waits a max of 5 seconds before giving up on the pipe. Question there is, uh, why? And how to make my Juce app wait for messages via the pipe forever?
Second problem is that, even if I can get my other app to send something within the allotted 5 seconds, I do not get a messageReceived() in my Juce app (yes, the client pipe did ‘openexisting’ successfully). So, the question here would be, have pipes been thoroughly tested?