[sdlsound] WinCE progress

Corona688 tsm at accesscomm.ca
Sat Jun 29 19:04:34 EDT 2002

"Ryan C. Gordon" wrote:

> Do something like this at the top of main():
>   freopen("sdlsound_stdout.txt", stdout, "w");
>   freopen("sdlsound_stderr.txt", stderr, "w");
> --ryan.

WinCE doesn't HAVE freopen, you see...  s'why it wasn't implemented in
SDL_main..  Managed to redirect 'em myself, though it was an ugly brutal
hack...  had to modify stdlib.h itself, turning them into extern FILE *'s and
compiling a lib that contains 'em.

More information about the sdlsound mailing list