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 #31151 is a reply to message #31150] Thu, 10 February 2011 14:10 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
kohait00 wrote on Thu, 10 February 2011 14:04

i dont mind programming own control for that. i merly seek a good concept on how to redirect / process std streams in a decent manner
thanks for support.


You shall redirect them to a pipe and use it in non-blocking mode on client side or use a separate thread (with PostCallback() to communicate with main one) if you want to stay with blocking mode.

First is trickier but more reliable on shutdown, latter is easier but you can have problems on shutdown.

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 02:09:48 CEST 2024

Total time taken to generate the page: 0.02224 seconds