From jan@swi.psy.uva.nl  Wed Jul 21 14:59:33 1999
Received: from gollem.swi.psy.uva.nl (jan@gollem.swi.psy.uva.nl [145.18.114.15])
	by swi.swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id OAA13453
	for <prolog@swi.psy.uva.nl>; Wed, 21 Jul 1999 14:59:32 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.8.8/8.8.8) id PAA06129
	for prolog@swi.psy.uva.nl; Wed, 21 Jul 1999 15:01:23 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
To: prolog@swi.psy.uva.nl
Subject: Re: SWI+VB
Date: Wed, 21 Jul 1999 14:57:23 +0200
X-Mailer: KMail [version 0.7.9]
Content-Type: text/plain
References: <19990721124544.4810.cpmta@c008.sfo.cp.net>
MIME-Version: 1.0
Message-Id: <99072115012309.03078@gollem>
Content-Transfer-Encoding: 8bit

On Wed, 21 Jul 1999, andrew@nsimail.com wrote:
>I created an .exe (SWI for NT) and would like to redirect its 
>output to a textbox in a concurrently working VB6 program.
>Somebody please recommend me the simplest way to do this.

Some suggestions:

	* VB into a DDE server and use SWI-Prolog DDE stuff
	* Use sockets.  There is a socket implementation for
	  pure Prolog accessible from the SWI-Prolog pages

	  (http://swi/projects/SWI-Prolog/packages/clib/)

	  Windows server-side isn't too good.  Client may be
	  fine.
	* Use a file ...
	* ...

Most people go for DDE I think.

	Regards --- Jan

