Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-01-11 17:09:29


> Yes, redirecting the output to the output page will work fine as long as
> you're working with a "console" app. Unfortunately there are times
> that to initialize some of the libraries we need to create a DirectX
> surface, or at least a Window instance. In that case, we have to create
> a Win32 app, and std::out is not piped correctly to the output. I'll have
> to double-check this.

Where is it piped to then?

> One thing is for sure though, having control over main() is very
important.
> Otherwise it might not even be possible to create anything other than a
> regular console app. I thought it would be relatively trivial to take
over
> main, but then I realized that main() is part of the library right now, so
> the ony way to provide your own would be modifying the source code of
> the library and recompiling.

Yes. Right now it's not possible to use framework as it is with WinMain (at
lease that what I think).
We may need to create another component usable for such cases.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk