[SDL] sdlmain

Julien Lecomte julien at famille-lecomte.net
Tue Jul 4 08:30:11 PDT 2006


On 04/07/2006 16:19, Johannes Schmidt wrote:
> Le Mardi 4 Juillet 2006 15:23, Torsten Giebl a écrit :
>> I the only thing i would like to get
>> changed in SDL 1.2 is to be able
>> to dynamically change whether
>> Messages for stdout and stderr are print
>> to files or not. I do not recall at the
>> moment if SDL uses the console for
>> output when using -mconsole.
-mconsole just prevents a console from being opened at start of program. 
It doesn't define anything or change linking in any way apart from what 
I said above.

>> But maybe it is not possible to make this
>> dynamically.
> 
> Dynamical redirection is possible (in C, C++ at least).
> 
> What about an env var to prevent redirection?
I don't know, I never use SDL's redirection; but I've seen that it seems 
to have been removed from SDL 1.3. Yeah!






More information about the SDL mailing list