[SDL] Stdio redirect issue
Brian
brian.ripoff at gmail.com
Thu Feb 15 05:43:17 PST 2007
I think you have to make a console yourself (because SDLmain provides
a WinMain which doesnt create a console ). The function to create a
console is AllocConsole() or something, and you can use freopen() in
some form to make the standard output/error files point to it...I've
heard this was the procedure but I havent tried it myself so there may
be additional steps.
On 2/15/07, Michael Summers <wfrobozz at gmail.com> wrote:
> Hi...
>
> Everyone is probably expecting this to be about how to disable stdio redirect
> but I've already figured that out. The issue I'm having is that while I can
> disable stdio redirect (through compiling with --disable-stdio-redirect), it
> seems to totally disable output. Now it won't do either a text file or the
> console. Any idea how to get it to output to the console?
>
> I'm using version 1.2.11 under Windows XP compiling through MSYS/MinGW.
>
> Thanks,
> Michael Summers
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
More information about the SDL
mailing list