I have a WinForm project that also can be started as a console. The project's output type is Windows Application. To open the console and write text I have manually allocated the console and redirected the standard output, as described here.
The console works with Win7 and Win2008R2, but not e.g. Win10. Nothing is written to screen, but listen to input from keyboard.
Is there any difference in how to setup standard output redirection on Win7 and Win>=8? How is standard output redirected on e.g. Win8?