🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Interaction between applications...

#6027
From: qyte
Date: Mon, 20 Jun 2005 11:57
13 lines
1489 bytes
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.

The way that i find the open instances is to use EnumWindows
and check some things inside the CALLBACK function that i use.
I found that using AddAtom would do the trick but i don't know
how, and there is another problem there sending the Atom identifier
in order to use it.

Can you show me a better way of achieving such type of communiction?
Technical Details
Message-ID: <42b6af1f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4a04a7e9d3459dc4,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 20 Jun 2005 14:57:11 +0300
From: qyte <gyte@vivodinet.gr>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Interaction between applications...
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 83.171.210.195
Message-ID: <42b6af1f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119268639 83.171.210.195 (20 Jun 2005 04:57:19 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail