print, writeln etc. fail when calling from C program on Win32

Kaitain Jones <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAMeycMw=FWWsd6wOuY-Bs6ROH77HdZzq+mh9k56LyxvdL+7pug@mail.gmail.com>
I'm getting caught out at the moment by having any PL clauses that make any
output-related side-effect calls such as print or writeln fail when calling
them from my C wrapper on Win32, meaning that the predicate itself fails
even though I have no interest in the print output in this context (but I
want to see the output when submitting queries from the SWI repl). I was
trying to work out if there was a simple way of allowing the print/write
calls to succeed (in terms of returning true) even if no output was ever
delivered anywhere. I had a look at the documentation on the SWI knowledge
base but I found that section a bit sketchy and couldn't glean meaningful
answers from it.
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.