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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. start an application out side the current application

start an application out side the current application

Scheduled Pinned Locked Moved C / C++ / MFC
business
5 Posts 4 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.
  • V Offline
    V Offline
    viral_umang hotmail com
    wrote on last edited by
    #1

    I want to start an independent application with parameters from my current application. requirements: 1) Independent appllication should not have relationship with the current application in the form of starting of application. 2) Application shuold function as it is started by the local user. 3) Many applications requires parameters to run i should able to set that parameters. 4) My application is the table of other applications from where at given time current application will automatically starts independently with set parameters. Viral Joshi

    S J M 3 Replies Last reply
    0
    • V viral_umang hotmail com

      I want to start an independent application with parameters from my current application. requirements: 1) Independent appllication should not have relationship with the current application in the form of starting of application. 2) Application shuold function as it is started by the local user. 3) Many applications requires parameters to run i should able to set that parameters. 4) My application is the table of other applications from where at given time current application will automatically starts independently with set parameters. Viral Joshi

      S Offline
      S Offline
      sthotakura
      wrote on last edited by
      #2

      Use CreateProcess() to spawn the process.. Refer the link http://msdn2.microsoft.com/en-us/library/ms682425.aspx[^]

      S 1 Reply Last reply
      0
      • S sthotakura

        Use CreateProcess() to spawn the process.. Refer the link http://msdn2.microsoft.com/en-us/library/ms682425.aspx[^]

        S Offline
        S Offline
        sthotakura
        wrote on last edited by
        #3

        You can also try this link http://support.microsoft.com/kb/175986[^]

        1 Reply Last reply
        0
        • V viral_umang hotmail com

          I want to start an independent application with parameters from my current application. requirements: 1) Independent appllication should not have relationship with the current application in the form of starting of application. 2) Application shuold function as it is started by the local user. 3) Many applications requires parameters to run i should able to set that parameters. 4) My application is the table of other applications from where at given time current application will automatically starts independently with set parameters. Viral Joshi

          J Offline
          J Offline
          John R Shaw
          wrote on last edited by
          #4

          Try looking at _spawnlp and other spawn functions.

          INTP "Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

          1 Reply Last reply
          0
          • V viral_umang hotmail com

            I want to start an independent application with parameters from my current application. requirements: 1) Independent appllication should not have relationship with the current application in the form of starting of application. 2) Application shuold function as it is started by the local user. 3) Many applications requires parameters to run i should able to set that parameters. 4) My application is the table of other applications from where at given time current application will automatically starts independently with set parameters. Viral Joshi

            M Offline
            M Offline
            Michael Dunn
            wrote on last edited by
            #5

            See the FAQ: 6.4 How do I run another program from my program?[^]

            --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?

            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