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. Missing Dll for executable package of Visual Stdio 2008

Missing Dll for executable package of Visual Stdio 2008

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncsharpannouncement
5 Posts 2 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.
  • M Offline
    M Offline
    Md Ali Naser Khan
    wrote on last edited by
    #1

    I have built an executable package in release mode in VC++.Net 2008(MFC). The package is running in my PC well but in other PC that doesn't have Visual stdio, is showing dll(mfc90.dll, msvc90.dll etc ) missing. If I install Visual stdio 2008 redistribution package then it is working. Is there any way to run my package without installing Visual stdio 2008 redistribution package? How can I do this?

    C 1 Reply Last reply
    0
    • M Md Ali Naser Khan

      I have built an executable package in release mode in VC++.Net 2008(MFC). The package is running in my PC well but in other PC that doesn't have Visual stdio, is showing dll(mfc90.dll, msvc90.dll etc ) missing. If I install Visual stdio 2008 redistribution package then it is working. Is there any way to run my package without installing Visual stdio 2008 redistribution package? How can I do this?

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      By statically linking to the MFC libraries and to the C-runtime libraries.

      Cédric Moonen Software developer
      Charting control [v1.5] OpenGL game tutorial in C++

      M 1 Reply Last reply
      0
      • C Cedric Moonen

        By statically linking to the MFC libraries and to the C-runtime libraries.

        Cédric Moonen Software developer
        Charting control [v1.5] OpenGL game tutorial in C++

        M Offline
        M Offline
        Md Ali Naser Khan
        wrote on last edited by
        #3

        How can I statically link to MFC libraries and to the C-runtime libraries? will I copy all the missing dlls to the package?

        C 1 Reply Last reply
        0
        • M Md Ali Naser Khan

          How can I statically link to MFC libraries and to the C-runtime libraries? will I copy all the missing dlls to the package?

          C Offline
          C Offline
          Cedric Moonen
          wrote on last edited by
          #4

          Look a bit in your project settings (I never used VC2008 before). For MFC, search for something like "Use of MFC" (it should be in the general section) and set it to "Use MFC in a static library". For C-runtime libraries, look for "Runtime library" (it should be under "C/C++" category -> "Code Generation") and set it to the non DLL version (you have several choices there, take the one that is selected but without the DLL at the end).

          Cédric Moonen Software developer
          Charting control [v1.5] OpenGL game tutorial in C++

          M 1 Reply Last reply
          0
          • C Cedric Moonen

            Look a bit in your project settings (I never used VC2008 before). For MFC, search for something like "Use of MFC" (it should be in the general section) and set it to "Use MFC in a static library". For C-runtime libraries, look for "Runtime library" (it should be under "C/C++" category -> "Code Generation") and set it to the non DLL version (you have several choices there, take the one that is selected but without the DLL at the end).

            Cédric Moonen Software developer
            Charting control [v1.5] OpenGL game tutorial in C++

            M Offline
            M Offline
            Md Ali Naser Khan
            wrote on last edited by
            #5

            I have done so but still dll missing message displaying.

            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