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. error when run app. in other computer

error when run app. in other computer

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++jsonquestionlounge
6 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 Offline
    L Offline
    leenmie
    wrote on last edited by
    #1

    I made a win32 application by VS2005. Im not using MFC, just use standard win32 api ( the option in General of Project Setting is Use Standard Windows Libraries). But when I run my app. on other computer, it failed (an error and advice reinstall ....). And then, i make a blank app for a test. It's a default application when create a win 32 project. When I run it on other computer, error like above too. What's the problem ???:doh:

    R S M 3 Replies Last reply
    0
    • L leenmie

      I made a win32 application by VS2005. Im not using MFC, just use standard win32 api ( the option in General of Project Setting is Use Standard Windows Libraries). But when I run my app. on other computer, it failed (an error and advice reinstall ....). And then, i make a blank app for a test. It's a default application when create a win 32 project. When I run it on other computer, error like above too. What's the problem ???:doh:

      R Offline
      R Offline
      Ryan Binns
      wrote on last edited by
      #2

      Make sure you're not trying to run the debug version of the program on the other program. Use the release version.

      Ryan

      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

      L 1 Reply Last reply
      0
      • R Ryan Binns

        Make sure you're not trying to run the debug version of the program on the other program. Use the release version.

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

        L Offline
        L Offline
        leenmie
        wrote on last edited by
        #3

        release sure.

        R 1 Reply Last reply
        0
        • L leenmie

          release sure.

          R Offline
          R Offline
          Ryan Binns
          wrote on last edited by
          #4

          :confused: I assume you mean you have tried the release version. What was the error you got?

          Ryan

          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

          1 Reply Last reply
          0
          • L leenmie

            I made a win32 application by VS2005. Im not using MFC, just use standard win32 api ( the option in General of Project Setting is Use Standard Windows Libraries). But when I run my app. on other computer, it failed (an error and advice reinstall ....). And then, i make a blank app for a test. It's a default application when create a win 32 project. When I run it on other computer, error like above too. What's the problem ???:doh:

            S Offline
            S Offline
            S Douglas
            wrote on last edited by
            #5

            leenmie wrote:

            When I run it on other computer, error like above too

            The problem you’re experiencing is a dependency issue. If you’re running W2k then you can open the exe with dependency walker to figure out which dlls you need to include with the exe (distribute). If the computer is a Windows XP system, there is a new paradigm for dealing with DLLs. It’s called SXS (side by side) DLL support. In other words it allows the target computer to run multiple versions of the same DLL. This was done to eliminate DLL hell issues. What this means to you is, your app will now need an installer to add the new DLLs to the system. Redistributing Visual C++ Files[^] http://msdn2.microsoft.com/en-us/library/ms235285.aspx[^] http://blogs.msdn.com/nikolad/archive/2005/09/02/460368.aspx[^]


            -- modified at 2:23 Monday 13th February, 2006

            1 Reply Last reply
            0
            • L leenmie

              I made a win32 application by VS2005. Im not using MFC, just use standard win32 api ( the option in General of Project Setting is Use Standard Windows Libraries). But when I run my app. on other computer, it failed (an error and advice reinstall ....). And then, i make a blank app for a test. It's a default application when create a win 32 project. When I run it on other computer, error like above too. What's the problem ???:doh:

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

              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-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

              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