News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

cannot get graphical output from dislin using Tools output

Started by kmallick2000, January 12, 2017, 06:42:43 AM

Previous topic - Next topic

sodev

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 :(.