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

Home » Developing U++ » UppHub » LogCtrl, a LOG/RLOG redirector to a DocEdit
Re: LogCtrl, a LOG/RLOG redirector to a DocEdit [message #31130 is a reply to message #30854] Mon, 07 February 2011 10:03 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
what about redirecting printf's as well? meaning stdout and stderr?

i've looked at how it's done, it's not hard in terms of code, but not easy in terms of handling. redirecting is done to a pipe, but the pipe can be full, because not fast enough reading from it and posting to, let's say to the console window, so the printf blocks.

this also would make it impossible to be properly 'inlined' in chronological manner with RLOGs.., since it's buffered with both pipe and the Stream writing to Std Log Stream..

any ideas / comments anyway?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New video and web browser activex controls for windows
Next Topic: PythonPP - tiny C++ wrappers for Python C API
Goto Forum:
  


Current Time: Sun Apr 26 03:42:23 GMT+2 2026

Total time taken to generate the page: 0.00568 seconds