🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #297

Send strings to another program.

#297
From: Stefan Fredriksson
Date: Tue, 01 Jul 2003 14:14
23 lines
1861 bytes
Hi,

I want to make a program B that is started by program A. Then when I 
click a button in program B, I would like my program B to send info back 
for A to catch.

Today, I have a .bat file that looks like:

echo off
echo 2003;27
etc.. etc..

The program I use today writes info to the .bat file and program A can 
use it.

I would like my new program B to be instead of this .bat file but behave 
in the same way.

How can I do this?

Thanks in advance
-- 
Stefan
Technical Details
Message-ID: <6HgMa.18479$dP1.34483@newsc.telia.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!news.indigo.ie!feeder.news.heanet.ie!surfnet.nl!news-stob.telia.net!telia.net!217.209.241.173.MISMATCH!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baee,8a135d2f94184ca2,start
X-Google-Attributes: gid10baee,public
X-Google-Thread: 1043cf,8a135d2f94184ca2,start
X-Google-Attributes: gid1043cf,public
X-Google-ArrivalTime: 2003-07-01 07:14:28 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!news.indigo.ie!feeder.news.heanet.ie!surfnet.nl!news-stob.telia.net!telia.net!217.209.241.173.MISMATCH!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail
From: Stefan Fredriksson <mcriley@telia.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.objectpascal
Followup-To: comp.lang.pascal.delphi.misc
Subject: Send strings to another program.
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Message-ID: <6HgMa.18479$dP1.34483@newsc.telia.net>
Date: Tue, 01 Jul 2003 14:14:26 GMT
NNTP-Posting-Host: 217.211.127.173
X-Complaints-To: abuse@telia.com
X-Trace: newsc.telia.net 1057068866 217.211.127.173 (Tue, 01 Jul 2003 16:14:26 CEST)
NNTP-Posting-Date: Tue, 01 Jul 2003 16:14:26 CEST
Organization: Telia Internet