Johannes Zellner wrote:
> but which actually calls my own write(char*) method to output
> the (possibly converted) characters. What is the simplest way
> to do this?
You need to derive a class from 'std::streambuf', overload the
'overflow()' and 'sync()' methods, and create an 'std:

stream'
using this stream buffer. I have provided detailed descriptions
of how to do this in past and I'm to bored to write it yet again.
--
<private.php?do=newpm&u=> <http://www.dietmar-kuehl.de/>
<http://www.eai-systems.com> - Efficient Artificial Intelligence