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. Visual Studio
  4. Running MFC application on a system where Visual studio is not installed.

Running MFC application on a system where Visual studio is not installed.

Scheduled Pinned Locked Moved Visual Studio
visual-studiocsharpc++
5 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.
  • R Offline
    R Offline
    ramana g
    wrote on last edited by
    #1

    Hi all i have developed MFC application. When i run the application where Visual studio 6 already installed, its working fine. But, when i moved the application to a system where VS 6 is not installed, the application is not starting. Please give some information on this. Thank you, Ramana.

    S P J 3 Replies Last reply
    0
    • R ramana g

      Hi all i have developed MFC application. When i run the application where Visual studio 6 already installed, its working fine. But, when i moved the application to a system where VS 6 is not installed, the application is not starting. Please give some information on this. Thank you, Ramana.

      S Offline
      S Offline
      softwaremonkey
      wrote on last edited by
      #2

      You dont say whether you get an error message. One possibility is that you are trying to run the debug version of your code on another system without the debug versions of the libraries. Have you tried running the release version of your code? Tony

      R 1 Reply Last reply
      0
      • S softwaremonkey

        You dont say whether you get an error message. One possibility is that you are trying to run the debug version of your code on another system without the debug versions of the libraries. Have you tried running the release version of your code? Tony

        R Offline
        R Offline
        ramana g
        wrote on last edited by
        #3

        Hi Tony i am using the Release version of the application. Initially, it displayed some messages as MFC dlls not found. So, i copied mfc42.dll, msvcrt.dll, msvcp60.dll s to the system32 directory. Still the application s behaviour is not, as expected. Where can i get the information, regarding what are the dlls required to an MFC application on any system. Ramana

        1 Reply Last reply
        0
        • R ramana g

          Hi all i have developed MFC application. When i run the application where Visual studio 6 already installed, its working fine. But, when i moved the application to a system where VS 6 is not installed, the application is not starting. Please give some information on this. Thank you, Ramana.

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

          You can use dependency walker, to determine dll's required by your application to run. Then, ship those along with your app.


          Prasad MS MVP -  VC++

          1 Reply Last reply
          0
          • R ramana g

            Hi all i have developed MFC application. When i run the application where Visual studio 6 already installed, its working fine. But, when i moved the application to a system where VS 6 is not installed, the application is not starting. Please give some information on this. Thank you, Ramana.

            J Offline
            J Offline
            Joseph Marzbani
            wrote on last edited by
            #5

            Hi You must include some MFCXXX.dll beside your executable file in new place. For example MFC42D.dll and ... You can get required files each time you execute your XXX.EXE, because they are requested by the system within a message box! good lock!

            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