# Interapplication messages

**URL:** <https://clarionhub.com/t/interapplication-messages/2977>\
**Category:** uncategorized\
**Created:** [November 18, 2019, 3:58pm UTC](https://clarionhub.com/t/interapplication-messages/2977 "2019-11-18T15:58:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![JaredDavis](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@JaredDavis](https://clarionhub.com/u/JaredDavis)\
**Post date:** [November 18, 2019, 3:58pm UTC](https://clarionhub.com/t/interapplication-messages/2977/1 "2019-11-18T15:58:28Z")

</div>

Hi,

I would like to have one clarion program send messages to another (clarion?) program for processing with the results sent back. The processor would be single threaded.

I tried searching for “message queues” and some other flavors but did not see a good fit.

Trying to avoid known issues and wheel re-creation.

Thanks.

---

<div class="post-metadata">

**Author:** ![Mike\_Duglas](https://clarionhub.com/user_avatar/clarionhub.com/mike_duglas/32/1061_2.png) [@Mike\_Duglas](https://clarionhub.com/u/Mike_Duglas)\
**Post date:** [November 18, 2019, 4:16pm UTC](https://clarionhub.com/t/interapplication-messages/2977/2 "2019-11-18T16:16:34Z")

</div>

[EasyDotNet](http://www.ingasoftplus.com/ProductDetail.php?ProductID=301) supports Message Queues .

---

<div class="post-metadata">

**Author:** ![JaredDavis](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@JaredDavis](https://clarionhub.com/u/JaredDavis)\
**Post date:** [November 19, 2019, 6:35pm UTC](https://clarionhub.com/t/interapplication-messages/2977/3 "2019-11-19T18:35:07Z")

</div>

Thanks. Has anyone used NamedPipes with clarion programs?

---

<div class="post-metadata">

**Author:** ![Constantine](https://clarionhub.com/letter_avatar_proxy/v4/letter/c/3bc359/32.png) [@Constantine](https://clarionhub.com/u/Constantine)\
**Post date:** [November 20, 2019, 6:07am UTC](https://clarionhub.com/t/interapplication-messages/2977/4 "2019-11-20T06:07:26Z")

</div>

I have. Named Pipes is very powerful, but very “heavy” tool. There are a lot of security, synchronization, memory sharing etc. issues. That’s why it may be recommended only if you need networking.  
IMHO, the best way for single computer is using SendMessage() API function for commands and File Mapping object for data.  
Also, if you have up to 400 bytes of data (max. message size for single computer), Mailslots may be recommended.

---

<div class="post-metadata">

**Author:** ![Paul\_Attryde](https://clarionhub.com/user_avatar/clarionhub.com/paul_attryde/32/1334_2.png) [@Paul\_Attryde](https://clarionhub.com/u/Paul_Attryde)\
**Post date:** [November 20, 2019, 5:09pm UTC](https://clarionhub.com/t/interapplication-messages/2977/5 "2019-11-20T17:09:11Z")

</div>

Don’t rule out using sockets. Constantine has some good suggestions, but if you’re looking to implement this ASAP then you’re more likely to find a 3rd party socket solution quicker

---

<div class="post-metadata">

**Author:** ![lodestar](https://clarionhub.com/user_avatar/clarionhub.com/lodestar/32/1055_2.png) [@lodestar](https://clarionhub.com/u/lodestar)\
**Post date:** [November 22, 2019, 8:56pm UTC](https://clarionhub.com/t/interapplication-messages/2977/6 "2019-11-22T20:56:14Z")

</div>

Depending on the version of Clarion you’re using TCP/IP socket communications was added and an example app was included. \Examples\QuickSocket

This uses the ClaSocket.tpl

---

<div class="post-metadata">

**Author:** ![Wolfgang\_Orth](https://clarionhub.com/user_avatar/clarionhub.com/wolfgang_orth/32/452_2.png) [@Wolfgang\_Orth](https://clarionhub.com/u/Wolfgang_Orth)\
**Post date:** [November 30, 2019, 6:54pm UTC](https://clarionhub.com/t/interapplication-messages/2977/7 "2019-11-30T18:54:07Z")

</div>

Thank you for this hint, Lee!  
However… as so often with examples from SV, they are … hmmm, I better do not elaborate.

After installing I found this QuickSocket example and yes, it compiles.

It even runs!

You look at the program, get the impression that this is a rudimentary Chat-App, so you start the first instance as a server, then run a second instance as a client.

Okay so far.

You type some “Hello World” kind of stuff into one of the both instances.

Now what?

I mean, its a chat program. But this “Hello World” (or “blabla” for the intellecuatly challenged like me) never appears on ‘the other side’. Until you click on that friggin’ window and put the focus on it.

But thats not the way how chat programs work!

Does no one ever test the demo apps before thy deliver?

We all know other vendors, who are able to produce demo apps, which are thought through and through.

Please be assured that this rant is not against you. But since you mentioned this example…

Wolfgang

---

<div class="post-metadata">

**Author:** ![ThaDaSoft](https://clarionhub.com/user_avatar/clarionhub.com/thadasoft/32/3743_2.png) [@ThaDaSoft](https://clarionhub.com/u/ThaDaSoft)\
**Post date:** [October 14, 2026, 7:23am UTC](https://clarionhub.com/t/interapplication-messages/2977/8 "2026-10-14T07:23:33Z")

</div>

Just tried the `QuickConnect` example, but for me I am getting missing template errors `Clarion11 Version`, missing `clw` files and not being able to build it

Am I missing something obvious?

I was actually looking at how to use Named Pipes, but this post is the only one I find when searching for anything related to it.

---

<div class="post-metadata">

**Author:** ![LANSRAD](https://clarionhub.com/user_avatar/clarionhub.com/lansrad/32/4519_2.png) [@LANSRAD](https://clarionhub.com/u/LANSRAD)\
**Post date:** [October 14, 2026, 9:54pm UTC](https://clarionhub.com/t/interapplication-messages/2977/9 "2026-10-14T21:54:00Z")

</div>

I'll weigh in late on this thread, but our vuFileTools has Mailslots support built in for just this sort of thing. It works quite well, is simple to implement and is quite robust.

Docs on it here:

> **[Mailslots in vuFileTools](https://clarionproseries.github.io/docs/vuFileTools/mailslots.html)**
>
> How Clarion applications can use vuFileTools mailslots to send commands and information between programs running on the same Windows computer.

Info on vuFileTools here:  
[https://www.clarionproseries.com/html/vufiletools.html](https://www.clarionproseries.com/html/vufiletools.html)

Charles

---

<div class="post-metadata">

**Author:** ![MarkGoldberg](https://clarionhub.com/user_avatar/clarionhub.com/markgoldberg/32/1511_2.png) [@MarkGoldberg](https://clarionhub.com/u/MarkGoldberg)\
**Post date:** [October 14, 2026, 10:40pm UTC](https://clarionhub.com/t/interapplication-messages/2977/10 "2026-10-14T22:40:41Z")

</div>

I've used Memory Mapped Files (MMF)  
And synch objects to signal something is ready to process. I've used that to work across the 32/64 but boundary.

Its quick, after it initialized, I've had a round trip conversation between the two programs return on the same clock tick in .NET that's one ten millionth of a second. But that's a bit inconsistent, I imagine it has to do with OS task scheduling
