Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: How can Java talk to an executable written in C?


Message #1 by "Chan Ahn" <c.ahn@d...> on Wed, 26 Dec 2001 01:34:34 -0000
This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C18DAD.7A444E40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I need to build a front-end for a command-line-based executable written
in C and do not know how to go about this.

The executable takes an input file and some other options as parameter
and produces a text file as an output. Basically, I need to find a way
for Java-based front-end to pass the parameters, including the input
file, to the executable and once the executable has done its work, I
want the front-end to display the output file in whatever format is
appropriate.

I would like to make use of XML in the communication between the Java
front-end and the C executable, if that is possible/necessary. I have an
access to the source code of the executable, but would prefer to deal
only with the executable, if that is possible.

Is there anyone who can help me on this? Thank you very much in advance.

If more information is required, I=92m more than happy to supply 
anything
I have. :-)

Best regards,

Chan





  Return to Index