On Thu Jun 8 14:23:36 2023 +0000, Jacek Caban wrote:
I'm afraid of breaking a use case where an application calls `AllocConsole` just to make sure there is a console, but it expects the call to fail if it's already attached to a console. Would limiting it to `CONSOLE_HANDLE_SHELL_NO_WINDOW` be enough for the problematic case?
CONSOLE_HANDLE_SHELL_NO_WINDOW is enough for the game. For example, see https://gitlab.winehq.org/wine/wine/-/merge_requests/2986