How would you program a C/C++ application that could run without opening a window or console?
Use Visual Studio wizard to create the Win32 Application. But don't create the window i.e., you remove the window creation function. Alternatively we can create Win Service application.