Support Board
Date/Time: Mon, 15 Jun 2026 01:52:18 +0000
Post From: Alert triggered program [call] produces a command shell over chart for each call.
| [2026-05-01 03:17:24] |
| Spidur - Posts: 15 |
|
After linking with winmain()..ie., merely replace main() with int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR lpCmdLine, int nCmdShow) {} and not starting any message loop or other forms of GUI... but still a command dialog was still raised; however, this was due to a nice gesture from windows for it's opening up a "message box" in order to display standard output from batch commands i was submiting via std::system() in my code. the ntfy.sh curl was set to silent in order to stop that. so, this should be a solution to this problem. I haven't tried eliminating standard output using main() and suspect it too would have same characteristics a headlessness state would be maintained as long as you don't open standard output. |
