C / C ++ Console Windows WIN32

I know how to "hide" them. I know about FreeConsole (); and then find the handle and change its attributes. However, using these methods, the window still pops up for a second than it leaves. How can I stop it completely?

+3
source share
2 answers

Have you considered creating a Windows application (with the Windows subsystem ) instead of a console application? This should hide the console window.

Try to see WinMain

+6
source

I believe that you need to be a graphical application so that the console does not display. Check out / SUBSYSTEM: WINDOWS

+2
source

Source: https://habr.com/ru/post/1706433/


All Articles