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. call the another application from first (without calling the EXE)

call the another application from first (without calling the EXE)

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
17 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.
  • L Lost User

    sachanratnesh wrote:

    without calling the EXE

    Then you need to convert it to a DLL, or a COM server.

    Veni, vidi, abiit domum

    S Offline
    S Offline
    sachanratnesh
    wrote on last edited by
    #6

    thanks for your reply.. if i dont want to use the DLL or COM as well as the EXE, is there is any other way to execute the application??? as we know that application will open by calling the "CreateWindow" and "ShowWindow" function. can we call such function from another application??????????

    L 1 Reply Last reply
    0
    • S sachanratnesh

      thanks for your reply.. if i dont want to use the DLL or COM as well as the EXE, is there is any other way to execute the application??? as we know that application will open by calling the "CreateWindow" and "ShowWindow" function. can we call such function from another application??????????

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #7

      sachanratnesh wrote:

      can we call such function from another application

      Short answer: No. Longer answer: You can use the CreateProcess[^] function, but that seems not to be what you want. Perhaps you could explain in better detail exactly what you are trying to do.

      sachanratnesh wrote:

      ??????????

      A single question mark is sufficient.

      Veni, vidi, abiit domum

      1 Reply Last reply
      0
      • M Marco Bertschi

        I am with Richard - He forgot to mention that you could also make it a static library (*.lib). In other news: A Java backend, Windows Service or RESTful API would probably do the job, too - You get the idea.

        The busier I am, the more I procrastinate. - Chris "The Mighty" Maunder

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #8

        Marco Bertschi wrote:

        He forgot to mention that you could also make it a static library

        No, I deliberately did not mention it since very few people seem to understand that such a thing exists, even though in practically every case, it would be more efficient than a DLL.

        Veni, vidi, abiit domum

        M pkfoxP 2 Replies Last reply
        0
        • L Lost User

          Marco Bertschi wrote:

          He forgot to mention that you could also make it a static library

          No, I deliberately did not mention it since very few people seem to understand that such a thing exists, even though in practically every case, it would be more efficient than a DLL.

          Veni, vidi, abiit domum

          M Offline
          M Offline
          Marco Bertschi
          wrote on last edited by
          #9

          Alright, I didn't want to accuse you of anything wrong - I think it is easier to use, and, in most cases it is faster.

          The busier I am, the more I procrastinate. - Chris "The Mighty" Maunder

          L 1 Reply Last reply
          0
          • S sachanratnesh

            thanks for your reply.. if i dont want to use the DLL or COM as well as the EXE, is there is any other way to execute the application??? as we know that application will open by calling the "CreateWindow" and "ShowWindow" function. can we call such function from another application??????????

            M Offline
            M Offline
            Marco Bertschi
            wrote on last edited by
            #10

            Have a glance here[^]

            The busier I am, the more I procrastinate. - Chris "The Mighty" Maunder

            1 Reply Last reply
            0
            • M Marco Bertschi

              Alright, I didn't want to accuse you of anything wrong - I think it is easier to use, and, in most cases it is faster.

              The busier I am, the more I procrastinate. - Chris "The Mighty" Maunder

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #11

              Marco Bertschi wrote:

              I didn't want to accuse you of anything wrong

              You didn't; I was just explaining why I only suggested a DLL - but I may also suggest .LIB in future. ;)

              Veni, vidi, abiit domum

              1 Reply Last reply
              0
              • L Lost User

                sachanratnesh wrote:

                without calling the EXE

                Then you need to convert it to a DLL, or a COM server.

                Veni, vidi, abiit domum

                S Offline
                S Offline
                sachanratnesh
                wrote on last edited by
                #12

                I am using VC++/C++ in my product, in which i want to add one functionality (Picture Viewer). Which I got from NET, shown in the following link. http://www.codeproject.com/Articles/5065/Thumbnails-viewer-and-image-processing-using-GDI-a Now I want to add this functionality in my product (simply when user clicks the button).

                L 1 Reply Last reply
                0
                • S sachanratnesh

                  I am using VC++/C++ in my product, in which i want to add one functionality (Picture Viewer). Which I got from NET, shown in the following link. http://www.codeproject.com/Articles/5065/Thumbnails-viewer-and-image-processing-using-GDI-a Now I want to add this functionality in my product (simply when user clicks the button).

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #13

                  Then you need to take the source code from the article and modify it to your needs.

                  Veni, vidi, abiit domum

                  1 Reply Last reply
                  0
                  • L Lost User

                    Marco Bertschi wrote:

                    He forgot to mention that you could also make it a static library

                    No, I deliberately did not mention it since very few people seem to understand that such a thing exists, even though in practically every case, it would be more efficient than a DLL.

                    Veni, vidi, abiit domum

                    pkfoxP Offline
                    pkfoxP Offline
                    pkfox
                    wrote on last edited by
                    #14

                    +1 We can’t stop here, this is bat country - Hunter S Thompson RIP

                    L 1 Reply Last reply
                    0
                    • pkfoxP pkfox

                      +1 We can’t stop here, this is bat country - Hunter S Thompson RIP

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #15

                      pkfox wrote:

                      +1

                      Is that down vote or just a minor up?

                      Veni, vidi, abiit domum

                      pkfoxP 1 Reply Last reply
                      0
                      • L Lost User

                        pkfox wrote:

                        +1

                        Is that down vote or just a minor up?

                        Veni, vidi, abiit domum

                        pkfoxP Offline
                        pkfoxP Offline
                        pkfox
                        wrote on last edited by
                        #16

                        Good morning, I don't get the option of upvoting on my tablet so its my way of saying "I agree with you" We can’t stop here, this is bat country - Hunter S Thompson RIP

                        L 1 Reply Last reply
                        0
                        • pkfoxP pkfox

                          Good morning, I don't get the option of upvoting on my tablet so its my way of saying "I agree with you" We can’t stop here, this is bat country - Hunter S Thompson RIP

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #17

                          :thumbsup:

                          Veni, vidi, abiit domum

                          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