R
Roland
Hi,
I am developing a C++ project and want to pass some command line
arguments in VS .NET 2003. I am in debug mode, the configuration is set
to Debug and I entered my argument list in Project -> Project
Properties -> Configuration Properties -> Debugging -> Command
Arguments. The blurb provided in the properties window for this field
reads "The command line arguments to pass to the application." which
sounded promising.
However, when I hit F5 or click on Debug -> Start and in my program
check for the number of arguments, my argument list is ignored, i.e. no
arguments are passed on. Not quite the expected behaviour.
If I start my program from a command line outside VS, the arguments are
passed on correctly, so I don't think it is my program but rather that
I misunderstand the settings in the properties window. Does anyone have
an idea of what I am missing?
Regards,
Roland
I am developing a C++ project and want to pass some command line
arguments in VS .NET 2003. I am in debug mode, the configuration is set
to Debug and I entered my argument list in Project -> Project
Properties -> Configuration Properties -> Debugging -> Command
Arguments. The blurb provided in the properties window for this field
reads "The command line arguments to pass to the application." which
sounded promising.
However, when I hit F5 or click on Debug -> Start and in my program
check for the number of arguments, my argument list is ignored, i.e. no
arguments are passed on. Not quite the expected behaviour.
If I start my program from a command line outside VS, the arguments are
passed on correctly, so I don't think it is my program but rather that
I misunderstand the settings in the properties window. Does anyone have
an idea of what I am missing?
Regards,
Roland