Unable to use command line parameters

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
This is the first time I am using managed cpp. However, I am unable to find
how to get the command line parameters to the main function in both the
console and the Application version. The IDE allows me to set command line
values in Project Properties>Debug option.
Can anyone give me some pointers?
 
Rajiv said:
This is the first time I am using managed cpp. However, I am unable to find
how to get the command line parameters to the main function in both the
console and the Application version. The IDE allows me to set command line
values in Project Properties>Debug option.
Can anyone give me some pointers?

String* cl[]= System::Environment::GetCommandLineArgs

B.
 
Back
Top