🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5932

Re: Interaction between applications...

#5932
From: Bob Gonder
Date: Mon, 20 Jun 2005 16:42
15 lines
1656 bytes
qyte wrote:

>At the moment i use PostMessage in order to
>inform all open instances of my program that i
>have put a string to clipboard so that it can be read.
>It is working quite well but i hope there is a better way
>of "sending" the string without the use of clipboard or a tmp file.

Yeah, don't do it with the clipboard, isn't nice to the user.

>Can you show me a better way of achieving such type of communiction?

Look in the Win32.hlp for "IPC Mailslots"
 then click the link over to "Mailslots"
It has an advantage of also communicating with other computers.
Technical Details
Message-ID: <qordb1takq6tlnaehspi6iiddlo00sap35@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42b6af1f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4a04a7e9d3459dc4
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Interaction between applications...
Date: Mon, 20 Jun 2005 09:42:10 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <qordb1takq6tlnaehspi6iiddlo00sap35@4ax.com>
References: <42b6af1f$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.200.249
X-Trace: newsgroups.borland.com 1119285729 67.77.200.249 (20 Jun 2005 09:42:09 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail