Post

Huh. There is no way for a program compiled with /SUBSYSTEM:WINDOWS to know that it was launched with CREATE_NO_WINDOW. The flag is used to run a console program silently. My program creates a console. And it has no way to check if it should be silent.

0 reposts0 likes

Correction: AllocConsoleWithOptions() handles this. But that was only introduced in Windows 11 24H2. So the problem I described has existed for a long, long time.