I have a third-party dll that I load into software that isn\'t mine, and I\'m using AllocConsole() to create the standard windows CLI window so I have an easy means of outpu
Thanks to Ben Voigt, I was able to cause the console to take input after I allocated it by doing:
freopen("CONIN$", "r", stdin);
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
This also directs the stdout and strerr to the same console window, in case they are directed someplace else for some reason.