🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Interaction between applications...

#5935
From: Remy Lebeau (TeamB)
Date: Mon, 20 Jun 2005 17:37
20 lines
1450 bytes
"qyte" <gyte@vivodinet.gr> wrote in message
news:42b6af1f$1@newsgroups.borland.com...

> 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.

Rather than doing that, each instance can use SetClipboardViewer() instead
to monitor the clipboard directly.

> 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 simpliest way would be to use the WM_COPYDATA message.


Gambit
Technical Details
Message-ID: <42b7007a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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
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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42b6af1f$1@newsgroups.borland.com>
Subject: Re: Interaction between applications...
Date: Mon, 20 Jun 2005 10:37:30 -0700
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <42b7007a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119289466 68.69.17.41 (20 Jun 2005 10:44:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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