I have a C ++ - CLI mixed program in Visual Studio 2005 that is configured to use / SUBSYSTEM: Windows. Generally speaking, this is a graphical application that is launched from its shortcut or through the file type registered on it.
However, there is a rare case when a user wants to run it from the command line with arguments. I can easily access the arguments when it comes to writing to the console, in response to running the program from the command line with arguments, where I see no effect Console::WriteLine.
What am I doing wrong?
source
share