I am working on a small program that changes system settings en mass based on the current settings. This program is mostly for efficiently since I change these setting, such as power settings and scream resolution, several times a day. (I have a laptop plugged into an external monitor with a higher resolution than what my laptop scream supports.) The problem is not how to do this, I already have a basic version hacked out, but that it still displays a console window even though there is no output whatsoever and this bugs me when it runs. Is there a simple way to create a windowless program in c++ without including some large 3rd part library, using only win32? I am using Mingw with win32api 3.10 so anything .Net specific is out which seems to be why I am having trouble.
You need to use the FreeConsole() function at the beginning of your program to hide the console window. Remember that every output that would be shown on the console makes it visible again