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. How to run an executable program

How to run an executable program

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
6 Posts 4 Posters 1 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.
  • G Offline
    G Offline
    gunnar66
    wrote on last edited by
    #1

    Hi What function do i need to run an exe program. I need to call another exe program from my Visual C prog. Thanks

    B D 2 Replies Last reply
    0
    • G gunnar66

      Hi What function do i need to run an exe program. I need to call another exe program from my Visual C prog. Thanks

      B Offline
      B Offline
      BlackDice
      wrote on last edited by
      #2

      try ShellExecute() If I write code in my sleep, does that make me brilliant, or just a lazy programmer? My articles www.stillwaterexpress.com BlackDice - the programmer formerly known as bdiamond

      G 1 Reply Last reply
      0
      • B BlackDice

        try ShellExecute() If I write code in my sleep, does that make me brilliant, or just a lazy programmer? My articles www.stillwaterexpress.com BlackDice - the programmer formerly known as bdiamond

        G Offline
        G Offline
        gunnar66
        wrote on last edited by
        #3

        Thank you!!

        1 Reply Last reply
        0
        • G gunnar66

          Hi What function do i need to run an exe program. I need to call another exe program from my Visual C prog. Thanks

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

          There's also CreateProcess().


          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          G 1 Reply Last reply
          0
          • D David Crow

            There's also CreateProcess().


            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

            G Offline
            G Offline
            gunnar66
            wrote on last edited by
            #5

            Thank you! I think i have to use this method because I can't find the ShellExecute()function in Embedded C++, which I use.

            T 1 Reply Last reply
            0
            • G gunnar66

              Thank you! I think i have to use this method because I can't find the ShellExecute()function in Embedded C++, which I use.

              T Offline
              T Offline
              ThatsAlok
              wrote on last edited by
              #6

              WinExec() most Simple ----------------------------- "I Think It Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk

              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