/SUBSYSTEM:Windows program will not write to command line
Posted
by user144182
on Stack Overflow
See other posts from Stack Overflow
or by user144182
Published on 2010-04-01T15:10:51Z
Indexed on
2010/04/01
15:13 UTC
Read the original article
Hit count: 326
I have a mixed mode C++-CLI program in Visual Studio 2005 that is set to use the /SUBSYSTEM:Windows. Generally speaking it is a graphical application that is launched from its shortcut or through the filetype registered to it.
However, there is a rare occasion where a user will want to run it from the command line with arguments. I can access the arguments just fine, its when it comes to writing to the console, in response to the program being launched from the command line with arguments, where I don't see Console::WriteLine
having any effect.
What am I doing wrong?
© Stack Overflow or respective owner