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. Run exe from mfc

Run exe from mfc

Scheduled Pinned Locked Moved C / C++ / MFC
11 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.
  • J Offline
    J Offline
    jeepoo
    wrote on last edited by
    #1

    i am having an exe in my drive i have to call it from my mfc code. how to do this

    P T D 3 Replies Last reply
    0
    • J jeepoo

      i am having an exe in my drive i have to call it from my mfc code. how to do this

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      Use CreateProcess or ShellExecute.

      Prasad Notifier using ATL | Operator new[],delete[][^]

      1 Reply Last reply
      0
      • J jeepoo

        i am having an exe in my drive i have to call it from my mfc code. how to do this

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

        jeepoo wrote:

        i am having an exe in my drive i have to call it from my mfc code. how to do this

        http://www.codeproject.com/system/newbiespawn.asp[^]

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

        cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

        H 1 Reply Last reply
        0
        • J jeepoo

          i am having an exe in my drive i have to call it from my mfc code. how to do this

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

          See here.


          "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

          "Judge not by the eye but by the heart." - Native American Proverb

          1 Reply Last reply
          0
          • T ThatsAlok

            jeepoo wrote:

            i am having an exe in my drive i have to call it from my mfc code. how to do this

            http://www.codeproject.com/system/newbiespawn.asp[^]

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

            cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

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

            I dont know why you get 2 votes(1.8) I give you 5;)


            WhiteSky


            T 1 Reply Last reply
            0
            • H Hamid Taebi

              I dont know why you get 2 votes(1.8) I give you 5;)


              WhiteSky


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

              WhiteSky wrote:

              I dont know why you get 2 votes(1.8) I give you 5;)

              slippery hands :)

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

              cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

              H 1 Reply Last reply
              0
              • T ThatsAlok

                WhiteSky wrote:

                I dont know why you get 2 votes(1.8) I give you 5;)

                slippery hands :)

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

                cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

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

                You are optimistic :-D


                WhiteSky


                T 1 Reply Last reply
                0
                • H Hamid Taebi

                  You are optimistic :-D


                  WhiteSky


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

                  WhiteSky wrote:

                  You are optimistic :-D

                  you have tooo he he he

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

                  cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                  H 1 Reply Last reply
                  0
                  • T ThatsAlok

                    WhiteSky wrote:

                    You are optimistic :-D

                    you have tooo he he he

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

                    cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

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

                    I think optimistic is better than pessimistic it sends affirmative signal to man,right;)


                    WhiteSky


                    T 1 Reply Last reply
                    0
                    • H Hamid Taebi

                      I think optimistic is better than pessimistic it sends affirmative signal to man,right;)


                      WhiteSky


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

                      WhiteSky wrote:

                      I think optimistic is better than pessimistic it sends affirmative signal to man,right;)

                      as always you are right dude!

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

                      cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                      H 1 Reply Last reply
                      0
                      • T ThatsAlok

                        WhiteSky wrote:

                        I think optimistic is better than pessimistic it sends affirmative signal to man,right;)

                        as always you are right dude!

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

                        cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

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

                        :-O


                        WhiteSky


                        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