Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1307
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: Sun May 12 07:25:16 CEST 2024

Total time taken to generate the page: 0.02790 seconds