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. Initiating other programs to run

Initiating other programs to run

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestiondiscussion
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.
  • D Offline
    D Offline
    Debs
    wrote on last edited by
    #1

    I would like to create a program that would start another program running (multiple times but I'll start with just once). I'm not sure the best way to go about this, any thoughts? I was thinken maybe initiating a bat file. however I am not sure about how to go about this either. I've tried the open(c:\\M2.bat,...) function but I seem to get an -1 in the handle. any thoughts would be great. I'm using C++ Builder. Cheers*

    D 1 Reply Last reply
    0
    • D Debs

      I would like to create a program that would start another program running (multiple times but I'll start with just once). I'm not sure the best way to go about this, any thoughts? I was thinken maybe initiating a bat file. however I am not sure about how to go about this either. I've tried the open(c:\\M2.bat,...) function but I seem to get an -1 in the handle. any thoughts would be great. I'm using C++ Builder. Cheers*

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Debs* wrote:

      I would like to create a program that would start another program running (multiple times but I'll start with just once).

      See here.


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "We will be known forever by the tracks we leave." - Native American Proverb

      D 1 Reply Last reply
      0
      • D David Crow

        Debs* wrote:

        I would like to create a program that would start another program running (multiple times but I'll start with just once).

        See here.


        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

        "We will be known forever by the tracks we leave." - Native American Proverb

        D Offline
        D Offline
        Debs
        wrote on last edited by
        #3

        Cheers* Exactly what I needed. :-D

        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