Oz and Mozart Users Mailing List

newbie success (Vb-Oz tcp interface)


From: Adriano Volpones (volpadri@tin.it)
Date: Fri Mar 16 2001 - 14:13:04 CET


Hi,
 
thanks to the suggestions of this active usergroup and to the Mogul library (in particular to Joachim Niehren and his "External Processes" package) , I developed a primitive example of tcp interface with a VisualBasic program.
 
Features:
- starts an Oz external process via tcp and gets a wellcome message
- echoes in a text pane a message sent to Oz
- evaluates via Oz a text and gets the result of the evaluation (catching the errors)
- exits gracefully closing the external process
 
Use:
- unzip in a directory the attached Oz and VB code.
- compile the oz modules via the Makefile included (I use the make.exe util in Borland C++)
- load the .vbp project into the VB environment
- launch the application an follow the buttons
 
Bye,
 
        Adriano Volpones
 



-
Please send submissions to users@mozart-oz.org
and administriva mail to users-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.