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. LAUNCHING Application

LAUNCHING Application

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++
4 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.
  • P Offline
    P Offline
    paul crescent
    wrote on last edited by
    #1

    Hi i need a logic for given issue that i have a interface of third party application in my application (mfc application), using this interface , i launch the third party applicaiton. my problem is that when my appliction exit, the third party applicaiton also is forced to close. Is any alernative this. :) by paul

    C T I 3 Replies Last reply
    0
    • P paul crescent

      Hi i need a logic for given issue that i have a interface of third party application in my application (mfc application), using this interface , i launch the third party applicaiton. my problem is that when my appliction exit, the third party applicaiton also is forced to close. Is any alernative this. :) by paul

      C Offline
      C Offline
      CPallini
      wrote on last edited by
      #2

      paul crescent wrote:

      using this interface

      Probably you should read interface documentation (if any). :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [Image resize DLL]

      1 Reply Last reply
      0
      • P paul crescent

        Hi i need a logic for given issue that i have a interface of third party application in my application (mfc application), using this interface , i launch the third party applicaiton. my problem is that when my appliction exit, the third party applicaiton also is forced to close. Is any alernative this. :) by paul

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

        create a new process of that application

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
        Never mind - my own stupidity is the source of every "problem" - Mixture

        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>

        1 Reply Last reply
        0
        • P paul crescent

          Hi i need a logic for given issue that i have a interface of third party application in my application (mfc application), using this interface , i launch the third party applicaiton. my problem is that when my appliction exit, the third party applicaiton also is forced to close. Is any alernative this. :) by paul

          I Offline
          I Offline
          Iain Clarke Warrior Programmer
          wrote on last edited by
          #4

          The devil is in the details for this sort of thing. My main app can sometimes use another company's app to do some work. They provide a COM library to communicate with their app. In a similar way to yours, if my app closes, their COM library closes, and in tidying up shuts down the external app. I'm not complaining - this is a good thing for me. But I can see it being a pain. Do you have some need for controlling this external app? If not, just use CreateProcess / ShellExecute when your app runs, and let the external app do it's own thing. Would your app closing have some bad effect on external app? As I said at the beginning, the devil is in the details. You have to sweat the small stuff. cliché:off. Iain.

          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