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. Attach exe

Attach exe

Scheduled Pinned Locked Moved C / C++ / MFC
c++
13 Posts 7 Posters 1 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.
  • A Aabid

    Hello Friend! i have to attach an .exe file in my project so that i can send it when i run my application. using VC++ + Win32 Need Ur Suggesstions Thanks

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

    Aabid wrote:

    have to attach an .exe file in my project so that i can send it when i run my application.

    Well done. :) But whats your question?

    Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

    A 1 Reply Last reply
    0
    • A Aabid

      Hello Friend! i have to attach an .exe file in my project so that i can send it when i run my application. using VC++ + Win32 Need Ur Suggesstions Thanks

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #3

      Aabid wrote:

      an .exe file in my projec

      ??? Do you want to send the exe as an attachment with an e-mail? Do remember that some servers may restrict sending/receiving of exe's Did you see MAPI?

      You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

      A 1 Reply Last reply
      0
      • H Hamid Taebi

        Aabid wrote:

        have to attach an .exe file in my project so that i can send it when i run my application.

        Well done. :) But whats your question?

        Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

        A Offline
        A Offline
        Aabid
        wrote on last edited by
        #4

        My Question is how can i attach That (another .exe file ) to my application`s exe

        T 1 Reply Last reply
        0
        • _ _AnsHUMAN_

          Aabid wrote:

          an .exe file in my projec

          ??? Do you want to send the exe as an attachment with an e-mail? Do remember that some servers may restrict sending/receiving of exe's Did you see MAPI?

          You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

          A Offline
          A Offline
          Aabid
          wrote on last edited by
          #5

          What is MAPI?? Actually i need to send the "Eicar.com" (that is not a virus but it is testing file for the detection of a virus, its behaviour is smthng like a virus)

          1 Reply Last reply
          0
          • A Aabid

            Hello Friend! i have to attach an .exe file in my project so that i can send it when i run my application. using VC++ + Win32 Need Ur Suggesstions Thanks

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

            well, what is stopping you from creating a new file (C), reading in the contents of file (A), writing it into C, reading in another file (B) and writing that to C also. The fact that these are .exe's rather than .txt's or .fwibble's is irrelevant. If you want to compile your ivebeencorrupted.exe, you could add the imavirus.com as a binary resource. It would then appear in the end file, ready for detection. Iain.

            CPalliniC 1 Reply Last reply
            0
            • I Iain Clarke Warrior Programmer

              well, what is stopping you from creating a new file (C), reading in the contents of file (A), writing it into C, reading in another file (B) and writing that to C also. The fact that these are .exe's rather than .txt's or .fwibble's is irrelevant. If you want to compile your ivebeencorrupted.exe, you could add the imavirus.com as a binary resource. It would then appear in the end file, ready for detection. Iain.

              CPalliniC Offline
              CPalliniC Offline
              CPallini
              wrote on last edited by
              #7

              Iain Clarke wrote:

              If you want to compile your ivebeencorrupted.exe, you could add the imavirus.com as a binary resource. It would then appear in the end file, ready for detection.

              Very good, but you should try harder in order to be the first 2009 entry in the CP's memorable quotes list! ;)

              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
              [My articles]

              In testa che avete, signor di Ceprano?

              I 1 Reply Last reply
              0
              • CPalliniC CPallini

                Iain Clarke wrote:

                If you want to compile your ivebeencorrupted.exe, you could add the imavirus.com as a binary resource. It would then appear in the end file, ready for detection.

                Very good, but you should try harder in order to be the first 2009 entry in the CP's memorable quotes list! ;)

                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
                [My articles]

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

                :( I am wounded sir, wounded! Iain.

                CPalliniC T H 3 Replies Last reply
                0
                • I Iain Clarke Warrior Programmer

                  :( I am wounded sir, wounded! Iain.

                  CPalliniC Offline
                  CPalliniC Offline
                  CPallini
                  wrote on last edited by
                  #9

                  That is just because your standard is so high. :)

                  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
                  [My articles]

                  In testa che avete, signor di Ceprano?

                  1 Reply Last reply
                  0
                  • A Aabid

                    My Question is how can i attach That (another .exe file ) to my application`s exe

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

                    ShellExecute I think he want to execute a excutable from his executable!

                    "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

                    1 Reply Last reply
                    0
                    • I Iain Clarke Warrior Programmer

                      :( I am wounded sir, wounded! Iain.

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

                      Iain Clarke wrote:

                      I am wounded sir, wounded!

                      Ambulance please :-)

                      "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

                      1 Reply Last reply
                      0
                      • I Iain Clarke Warrior Programmer

                        :( I am wounded sir, wounded! Iain.

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

                        And whats the result?which one of you were winner? our Iain :-D

                        Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

                        1 Reply Last reply
                        0
                        • A Aabid

                          Hello Friend! i have to attach an .exe file in my project so that i can send it when i run my application. using VC++ + Win32 Need Ur Suggesstions Thanks

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

                          Are you referring to something like this?

                          "Love people and use things, not love things and use people." - Unknown

                          "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

                          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