If you keep wmain() everything should start working
automatically, there is
no need for any special efforts.
With wmain, don't I need to feed it WCHAR as parameters? Because that's exactly what doesn't work on windows. At least not the way I currently handle it with the pipes.
Regards, Fabian Maurer