Prossegger Markus | 1 Aug 09:55

Error while redirecting standard out...

Hi everyone,

I am trying to develop an application (in .net) using YAP as a dynamic
rule-base-solver. It was quite easy to implement this using files for
the exchange of information but as the next step I am interested to get
the Prolog result via the standardout (which seems to be standarderror
in YAP?). So I implemented the YAP process in .net and redirected the
standarderror. It works for the startup messages and the consulting
messages but not for queries like the following examples:

writeAnything:-write('abc'). --> here I get only "?-yes" but not the
"abc"
writeAnything(X):-X='abc'. --> here I get nothing...

What I am doing wrong?

With greetings
Markus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane