When we build a project, we can determine under which subsystem we want to run our program in windows. But how will this affect the exe output file. Or, in other words, when we call the CreateProcess () API, we simply pass the exe file to it. So, what is the header inside the exe file, it checks which subsystem will process this process? Or is he using some other method to achieve it?
source share