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. Wich is the best way to launch/run an externall .exe app form vc++6 ?

Wich is the best way to launch/run an externall .exe app form vc++6 ?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
5 Posts 5 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.
  • T Offline
    T Offline
    timbk
    wrote on last edited by
    #1

    Well no much more to add, that's the question : Wich is the best way to launch/run an externall .exe app form vc++6 ? When I say the best I'm thinking in the best balance between simplicity and functionality. Thanks in advance. Any examples if it's possible.

    N H L 3 Replies Last reply
    0
    • T timbk

      Well no much more to add, that's the question : Wich is the best way to launch/run an externall .exe app form vc++6 ? When I say the best I'm thinking in the best balance between simplicity and functionality. Thanks in advance. Any examples if it's possible.

      N Offline
      N Offline
      Niklas L
      wrote on last edited by
      #2

      I mostly use ShellExecute[^]. So far I have only run into one problem, and that was to open a html page in a browser using an anchor (#) in the url to get to a specific part of the document. No other problems than that.

      home

      1 Reply Last reply
      0
      • T timbk

        Well no much more to add, that's the question : Wich is the best way to launch/run an externall .exe app form vc++6 ? When I say the best I'm thinking in the best balance between simplicity and functionality. Thanks in advance. Any examples if it's possible.

        H Offline
        H Offline
        Hans Dietrich
        wrote on last edited by
        #3

        By far the simplest: WinExec().

        Best wishes, Hans


        [Hans Dietrich Software]

        N 1 Reply Last reply
        0
        • H Hans Dietrich

          By far the simplest: WinExec().

          Best wishes, Hans


          [Hans Dietrich Software]

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          Hans Dietrich wrote:

          By far the simplest: WinExec().

          Yeah but you need to remember to quote-enclose long filenames!

          Regards, Nish


          New article available: Resetting a View Model in WPF MVVM applications without code-behind in the view My technology blog: voidnish.wordpress.com

          1 Reply Last reply
          0
          • T timbk

            Well no much more to add, that's the question : Wich is the best way to launch/run an externall .exe app form vc++6 ? When I say the best I'm thinking in the best balance between simplicity and functionality. Thanks in advance. Any examples if it's possible.

            L Offline
            L Offline
            LaxmikantYadav
            wrote on last edited by
            #5

            You can also use CreateProcess().

            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