DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2510
Version: 1.3-current


Hey, just discovered this is a way to get output to appear
on a DOS console from a windows app, and if invoked from the
desktop, it won't open a DOS console:

    #include <windows.h>
    #include <conio.h>

    AttachConsole(-1);
    cprintf("Hello world\n");

I doubt output can be redirected, but at least the output
will appear in the DOS window that invoked it. Interesting.


Link: http://www.fltk.org/str.php?L2510
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to