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 can I call a .exe in c++

how can I call a .exe in c++

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

    How can I call a .exe file in a c/c++(not MFC) project? thx, L Zhang

    A C H 3 Replies Last reply
    0
    • M mwolf122

      How can I call a .exe file in a c/c++(not MFC) project? thx, L Zhang

      A Offline
      A Offline
      Anilkumar K V
      wrote on last edited by
      #2

      ShellExecute system WinExec CreateProcess

      1 Reply Last reply
      0
      • M mwolf122

        How can I call a .exe file in a c/c++(not MFC) project? thx, L Zhang

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        mwolf122 wrote:

        How can I call a .exe file

        You mean launching an exe, no ? If yes, see the FAQ[^]


        Cédric Moonen Software developer
        Charting control

        1 Reply Last reply
        0
        • M mwolf122

          How can I call a .exe file in a c/c++(not MFC) project? thx, L Zhang

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          See ShellExecute[^]_**


          **_

          whitesky


          M 1 Reply Last reply
          0
          • H Hamid Taebi

            See ShellExecute[^]_**


            **_

            whitesky


            M Offline
            M Offline
            mwolf122
            wrote on last edited by
            #5

            thx, it already works.

            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