U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » Q: howto incorporate a native console window in GUI
Re: Q: howto incorporate a native console window in GUI [message #31149 is a reply to message #31147] Thu, 10 February 2011 14:03 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1313
Registered: September 2007
Ultimate Contributor
I guess you shall spawn a terminal process and then use a pipe for communication, even in non-blocking mode or with multithreading.
It's not so easy, but still not overcomplex.

You can take a look at SysExec package for pipe usage in Linux, and on Uniq package for named pipes usage in both (Windows can be quite tricky....).

In non-blocking mode you could poll the input pipe for incoming chars and send to an edit control.

Ciao

Max
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Issue tracking...
Next Topic: Question: Simple plugin implementation
Goto Forum:
  


Current Time: Wed Oct 07 15:22:01 GMT+2 2026

Total time taken to generate the page: 0.21217 seconds