We have some code that works and it’s a Win32 app with a GUI, but I would like to be able to trigger it from the command line as well (silent mode). Is there any easy way to do this? Or do I have to create another project as a command line application?
Share
If you want the application to be absolutely invisible, i.e. no window at all, you simply have to skip the part of your application that creates the main window. A normal command line application will create a console window, which will flash on the screen as the application opens and closes.