Disable showing console window

后端 未结 4 2079
栀梦
栀梦 2021-02-04 13:27

Where I can disable in Microsoft-Visual-C++ showing console window?

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-04 13:46

    You could hide it right on startup. I do not know whether this will cause flicker:

    HWND hWnd = GetConsoleWindow();
    ShowWindow( hWnd, SW_HIDE );
    

提交回复
热议问题