The thing is, I really don't want the console window to show up, but the solution should be running. My point here is, I want to keep the application running in the background, without any window coming up.
How can I do that?
"SW_HIDE" hides the window, while "SW_SHOW" shows the window.
Change the output type from Console Application to Windows Application. This can be done under Project -> Properties -> Application in Visual Studio:
Change your application type to a windows application. Your code will still run, but it will have no console window, nor standard windows window unless you create one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With