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. How could I run my exe on other computers ?

How could I run my exe on other computers ?

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studioquestion
10 Posts 7 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.
  • E Offline
    E Offline
    Emre Zorlu
    wrote on last edited by
    #1

    I make a project then I took *.exe.When I wanted to run this project on a computer which has no visual studio.it asked me *.DLL .How could I run my exe on other computers ? emroz

    M J A M 4 Replies Last reply
    0
    • E Emre Zorlu

      I make a project then I took *.exe.When I wanted to run this project on a computer which has no visual studio.it asked me *.DLL .How could I run my exe on other computers ? emroz

      M Offline
      M Offline
      murali_utr
      wrote on last edited by
      #2

      you need to take install pack for ur package using install shield or any application like this. or if u develop this project in vc++ means need vc++ in the other machine also.

      E 1 Reply Last reply
      0
      • E Emre Zorlu

        I make a project then I took *.exe.When I wanted to run this project on a computer which has no visual studio.it asked me *.DLL .How could I run my exe on other computers ? emroz

        J Offline
        J Offline
        jhwurmbach
        wrote on last edited by
        #3

        I assume that the computer asked for a name like mfc42d.dll? This is the debug version of the mfc. You need to make a release build on your computer (see top toolbar or menu 'projects/configurations'. This one will then work with the non-debug version of the mfc, whose dll is available almost everywhere.


        Who is 'General Failure'? And why is he reading my harddisk?!?

        1 Reply Last reply
        0
        • E Emre Zorlu

          I make a project then I took *.exe.When I wanted to run this project on a computer which has no visual studio.it asked me *.DLL .How could I run my exe on other computers ? emroz

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

          Or you can have your project built in static MFC library linking mode. If the MFC library is the only library you are using. Sonork 100.41263:Anthony_Yio

          1 Reply Last reply
          0
          • M murali_utr

            you need to take install pack for ur package using install shield or any application like this. or if u develop this project in vc++ means need vc++ in the other machine also.

            E Offline
            E Offline
            Emre Zorlu
            wrote on last edited by
            #5

            I installed IntallShield but I couldn't create setup file. I created a media which is 2.19 MB.then I setup this file on another computer but there was same problem which was about *.dll.I think I don't know how to use InstallShield.What should I do? emroz

            R J 2 Replies Last reply
            0
            • E Emre Zorlu

              I installed IntallShield but I couldn't create setup file. I created a media which is 2.19 MB.then I setup this file on another computer but there was same problem which was about *.dll.I think I don't know how to use InstallShield.What should I do? emroz

              R Offline
              R Offline
              Rafael Fernandez Lopez
              wrote on last edited by
              #6

              Well, you have to know what libraries you need to execute your app. Look, if you developed your app with VC++7 (.NET) and you programmed it with MFC, you'll need at least mfc70.dll as well to run it in other computer, just copying that file (and others that you may need, it depends on what did you use) in the app folder. I hope this help you !! ;)


              MaestroProgramador.Com Where every source code is loved like a girl.

              1 Reply Last reply
              0
              • E Emre Zorlu

                I installed IntallShield but I couldn't create setup file. I created a media which is 2.19 MB.then I setup this file on another computer but there was same problem which was about *.dll.I think I don't know how to use InstallShield.What should I do? emroz

                J Offline
                J Offline
                jhwurmbach
                wrote on last edited by
                #7

                Which values does the * in *.dll take? I.E. what libraries are you missing? Emre Zorlu wrote: I think I don't know how to use InstallShield. What should I do? Maybe its time for some reading?


                Who is 'General Failure'? And why is he reading my harddisk?!?

                1 Reply Last reply
                0
                • E Emre Zorlu

                  I make a project then I took *.exe.When I wanted to run this project on a computer which has no visual studio.it asked me *.DLL .How could I run my exe on other computers ? emroz

                  M Offline
                  M Offline
                  Michael Dunn
                  wrote on last edited by
                  #8

                  See the FAQ 8.2 A program I've written doesn't load when it's run on a computer without Visual C++ installed. Why?[^] --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber Kosh reminded me of some of the prima-donna programmers I've worked with. Knew everything but when you asked them a question; never gave you a straight answer.   -- Michael P. Butler in the Lounge

                  A 1 Reply Last reply
                  0
                  • M Michael Dunn

                    See the FAQ 8.2 A program I've written doesn't load when it's run on a computer without Visual C++ installed. Why?[^] --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber Kosh reminded me of some of the prima-donna programmers I've worked with. Knew everything but when you asked them a question; never gave you a straight answer.   -- Michael P. Butler in the Lounge

                    A Offline
                    A Offline
                    Atlantys
                    wrote on last edited by
                    #9

                    Some people just don't take to time to search around a bit before asking already-answered questions, eh? :sigh: The kindest thing you can do for a stupid person, and for the gene pool, is to let him expire of his own dumb choices. [Roger Wright on stupid people] We're like private member functions [John Theal on R&D]

                    M 1 Reply Last reply
                    0
                    • A Atlantys

                      Some people just don't take to time to search around a bit before asking already-answered questions, eh? :sigh: The kindest thing you can do for a stupid person, and for the gene pool, is to let him expire of his own dumb choices. [Roger Wright on stupid people] We're like private member functions [John Theal on R&D]

                      M Offline
                      M Offline
                      Michael Dunn
                      wrote on last edited by
                      #10

                      Nah, I don't mind if they didn't know about the FAQ (Chris took the link to it off the message boards). If they keep asking questions that are in the FAQ, then... :mad: --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber Kosh reminded me of some of the prima-donna programmers I've worked with. Knew everything but when you asked them a question; never gave you a straight answer.   -- Michael P. Butler in the Lounge

                      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