🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Sending Message between applications

#6592
From: Remy Lebeau (TeamB)
Date: Mon, 25 Apr 2005 16:55
24 lines
1899 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message
news:426d0cbf$1@newsgroups.borland.com...

> What API should I use?

That depends on what kind of messages you want to send.  Please provide more
details.  There are many different ways to exchange data between
applications - window messages, TCP/IP sockets, pipes, shared memory,
ActiveX/COM, RPC, DDE, just to name a few.  Each one has its own advantages
and disadvantages.

> 2) Also, several instances of application B.exe may be running
> on the network, so
>
> I want to send a message only to the B.exe running on my computer.

First, you have to decide which mechanism you want to use for exchanging the
data between your applications.  Some of the mechanisms mentioned above,
such as window messages and shared memory, by their nature cannot leave the
local machine to begin with.


Gambit
Technical Details
Message-ID: <426d206b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tudelft.nl!130.161.131.117.MISMATCH!tudelft.nl!newsfeed.multikabel.nl!news2.euro.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <426d0cbf$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a3af624e6b0a3fa5
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: <426d0cbf$1@newsgroups.borland.com>
Subject: Re: Sending Message between applications
Date: Mon, 25 Apr 2005 09:55:23 -0700
Lines: 26
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: <426d206b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114447979 68.69.17.41 (25 Apr 2005 09:52:59 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tudelft.nl!130.161.131.117.MISMATCH!tudelft.nl!newsfeed.multikabel.nl!news2.euro.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail