How to inject parameters to my application?
-
Hi, Is there a way to inject parameters (argc and argv) to my application using the visual studio , and not from the command line? (I'm using visual studio c++ 2005). Thanks, Eli
-
Hi, Is there a way to inject parameters (argc and argv) to my application using the visual studio , and not from the command line? (I'm using visual studio c++ 2005). Thanks, Eli
eli15021979 wrote:
Is there a way to inject parameters (argc and argv) to my application using the visual studio , and not from the command line? (I'm using visual studio c++ 2005).
I guess you want to pass command line using VS2005 then goto Project properties dialog->Configuration properties->Debugging->Command arguments Enter command line here. Don't worry about
argc
.
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
-
eli15021979 wrote:
Is there a way to inject parameters (argc and argv) to my application using the visual studio , and not from the command line? (I'm using visual studio c++ 2005).
I guess you want to pass command line using VS2005 then goto Project properties dialog->Configuration properties->Debugging->Command arguments Enter command line here. Don't worry about
argc
.
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
Hi Nibu, Thanks - it works.... With best regards, Eli