# Juce plugin communication

**URL:** <https://forum.juce.com/t/juce-plugin-communication/7405>\
**Category:** Windows\
**Created:** [September 4, 2011, 5:06pm UTC](https://forum.juce.com/t/juce-plugin-communication/7405 "2011-09-04T17:06:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dprowse](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dprowse](https://forum.juce.com/u/dprowse)\
**Post date:** [September 4, 2011, 5:06pm UTC](https://forum.juce.com/t/juce-plugin-communication/7405/1 "2011-09-04T17:06:09Z")

</div>

Hi,

Is there is a way (through juce classes or functions) for two juce applications or or two juce plugin dlls to communicate when in memory with each other or another exe or dll without using Shared Memory?

I have successfully set up a plugin dll to export foos for another app to call but when the second app call the plugin it is always as a new instant of the plugin/dll.

Short of using shared memory to have as swap RAM for the plugin to talk with another app is there a way of doing this that someone might have done they could share? I would like to have a little independence from the Windows platform in the end.

Thanks  
dp

---

<div class="post-metadata">

**Author:** ![andrewj](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/andrewj/32/13428_2.png) [@andrewj](https://forum.juce.com/u/andrewj)\
**Post date:** [September 5, 2011, 1:04am UTC](https://forum.juce.com/t/juce-plugin-communication/7405/2 "2011-09-05T01:04:17Z")

</div>

Um, how about [Named Pipes](http://www.rawmaterialsoftware.com/juce/api/classNamedPipe.html)?

---

<div class="post-metadata">

**Author:** ![dprowse](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dprowse](https://forum.juce.com/u/dprowse)\
**Post date:** [September 5, 2011, 12:09pm UTC](https://forum.juce.com/t/juce-plugin-communication/7405/3 "2011-09-05T12:09:29Z")

</div>

Well, waddya know! I guess I should be looking into the ref more often.

If this automates my mess I think this might do it for me.

I’ll dig into juce\_InterprocessConnectionServer.h, juce\_InterprocessConnection.h and juce\_NamedPipe.h later today.

(any example code stuffed away anywhere?)

Thanks Andrew.

dp
