On Thursday, October 1, 2020 at 8:35:20 PM UTC+5:30 anmol....@gmail.com wrote:
copy_label() fixed the problem. Thanks!
Calling show() in the loop or changing /subsytem:windows in linker options did not work either.
Stackexchange tells me CreateProcess() is the only reliable way to stop the console window from starting.
But I'm not going that route.
Almost as if microsoft intended this to mess with our minds. Hmm..
I'll try the "
modify the window attributes to make it always on top, but non-modal so it does not prevent events passing to your other windows" method and report back.
On Thursday, October 1, 2020 at 3:37:38 PM UTC+5:30 Albrecht Schlosser wrote:
On 10/1/20 11:52 AM 'MacArthur, Ian' wrote:
> Also, you can tell windows not to throw the CMD window at all for the pipe, though off-hand I can’t remember the magical invocation for that. It's a linker option though, IIRC. might be "-mwindows" with gcc, can't recall what VS uses...
If it's /that/ linker option ("-mwindows") then it's likely
"/subsystem:windows" (as opposed to "/subsystem:console") with MSVC, but
don't rely on the exact syntax.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.