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. Run exe file problem !!!

Run exe file problem !!!

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 Posts 3 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.
  • W Offline
    W Offline
    WDI
    wrote on last edited by
    #1

    Hi How i can : run an *.exe file and then stop it ?

    A C 2 Replies Last reply
    0
    • W WDI

      Hi How i can : run an *.exe file and then stop it ?

      A Offline
      A Offline
      Abhi Lahare
      wrote on last edited by
      #2

      Use ShellExecute()for starting exe , why you want to stop exe? Regards, Abhi Lahare

      W 1 Reply Last reply
      0
      • A Abhi Lahare

        Use ShellExecute()for starting exe , why you want to stop exe? Regards, Abhi Lahare

        W Offline
        W Offline
        WDI
        wrote on last edited by
        #3

        i have to close exe and run it to update some other tasks.

        1 Reply Last reply
        0
        • W WDI

          Hi How i can : run an *.exe file and then stop it ?

          C Offline
          C Offline
          CodeBeetle
          wrote on last edited by
          #4

          use createprocess() waitforsingleobject() and terminateprocess() example class: http://codebeetle.com/page.php?id=31[^]


          CodeBeetle.Com


          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