Author Topic: cannot get graphical output from dislin using Tools output  (Read 6622 times)

Offline sodev

  • Regular
  • ***
  • Posts: 497
Re: cannot get graphical output from dislin using Tools output
« Reply #15 on: January 19, 2017, 07:21:24 pm »
Uhm, CodeBlocks isn't written in Java, not sure how much it helps to figure out how to do it in Java ;D. Basically you need to grab the standard streams from the child process and read/write from/to them, depending which API you use (popen, CreateProcess, etc.) this works differently.

Luckily wxWidgets has encapsulated this in wxProcess, but it looks like there is no other way to do it than polling :(.