Home > database >  c problem | i want to NOT open the console while an program running
c problem | i want to NOT open the console while an program running

Time:07-03

Ya know the console opens everytime when u execute an c script in any way i am making currently an GDI effect and this Console shows in the background up Here is the script but i dont think the script affects everything :/enter image description here

CodePudding user response:

You should use /SUBSYSTEM:WINDOWS with WinMain.

Alternatively, you could hide the console.

ShowWindow(GetConsoleWindow(), SW_HIDE);

CodePudding user response:

yes but where should i put the script in that u send me in my script

  • Related