Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to inject parameters to my application?

How to inject parameters to my application?

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++visual-studiotutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eli15021979
    wrote on last edited by
    #1

    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

    N 1 Reply Last reply
    0
    • E eli15021979

      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

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      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

      E 1 Reply Last reply
      0
      • N Nibu babu thomas

        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

        E Offline
        E Offline
        eli15021979
        wrote on last edited by
        #3

        Hi Nibu, Thanks - it works.... With best regards, Eli

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups