This is a discussion on HOW TO redirect stderr to a file??? (freopen NOT supported) - Programmer ; Hi i'm doing a porting from an application console for win32 to pocketpc 2002, this applicancion have a lot of call to function similar to those: fprintf(stderr, "%s: Unknown error\n", msg); ................. ................. fprintf(stderr, "dropping packet #%u\n", seqno); ................ i ...
Hi i'm doing a porting from an application console for win32
to pocketpc 2002, this applicancion have a lot of call to function
similar to those:
fprintf(stderr, "%s: Unknown error\n", msg);
.................
.................
fprintf(stderr, "dropping packet #%u\n", seqno);
................
i want to preserve those functions and redirect stderr to a file but
pocketpc sdk and EVC30 doe not support the function "freopen"
anyone can soggest me a way to do that redirection?
Thanks