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. Managed C++/CLI
  4. Dll Dependency issue

Dll Dependency issue

Scheduled Pinned Locked Moved Managed C++/CLI
c++csharphelp
5 Posts 4 Posters 2 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.
  • G Offline
    G Offline
    givinisha
    wrote on last edited by
    #1

    We have developed our project with the following technologies Visual C#, Visual C++ and C Language. When we tried to execute our project in client machine, It works only if the system has Visual C++ installed. Otherwise it throws an Unhandled exception.The Visual C++ program which we have developed is dependent on 4 native DLL such as mscorlib.dll, microsoft visual c.dll, system.dll and data.dll. Visual C++ project does not load the above mentioned assemblies during run time. So we kindly request you to provide some inputs on this to proceed further.

    P A 2 Replies Last reply
    0
    • G givinisha

      We have developed our project with the following technologies Visual C#, Visual C++ and C Language. When we tried to execute our project in client machine, It works only if the system has Visual C++ installed. Otherwise it throws an Unhandled exception.The Visual C++ program which we have developed is dependent on 4 native DLL such as mscorlib.dll, microsoft visual c.dll, system.dll and data.dll. Visual C++ project does not load the above mentioned assemblies during run time. So we kindly request you to provide some inputs on this to proceed further.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Unless you have built your C++/C code using statically linked libraries, you will need to install the Visual C++ runtime. As you haven't stated which version of C++ you are developing with, I can't point you to the correct one. If you Google for Visual C++ runtime [version] then that should find the one you want (replace [version] with the particular Visual C++ you used).

      *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

      "Mind bleach! Send me mind bleach!" - Nagy Vilmos

      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

      1 Reply Last reply
      0
      • G givinisha

        We have developed our project with the following technologies Visual C#, Visual C++ and C Language. When we tried to execute our project in client machine, It works only if the system has Visual C++ installed. Otherwise it throws an Unhandled exception.The Visual C++ program which we have developed is dependent on 4 native DLL such as mscorlib.dll, microsoft visual c.dll, system.dll and data.dll. Visual C++ project does not load the above mentioned assemblies during run time. So we kindly request you to provide some inputs on this to proceed further.

        A Offline
        A Offline
        Albert Holguin
        wrote on last edited by
        #3

        If you don't know exactly what are all the dependencies that you need for your executable to run a client machine, use Dependency Walker[^] to help you determine what you're missing. Usually, MS will also provide an executable to package/distribute their distributable dll's.

        G 1 Reply Last reply
        0
        • A Albert Holguin

          If you don't know exactly what are all the dependencies that you need for your executable to run a client machine, use Dependency Walker[^] to help you determine what you're missing. Usually, MS will also provide an executable to package/distribute their distributable dll's.

          G Offline
          G Offline
          givinisha
          wrote on last edited by
          #4

          Hi thanks for your reply... When the dependency walker has been installed the visual c++ is missing these dll. MSVCM90D.DLL,MSVCR90D.DLL,IESHIMS.DLL,WER.DLL Got error as Error: The Side-by-Side configuration information for "c:\documents and settings\administrator\my documents\givi\learning materials\acadamic_project\openpowerlinkdemoappv1.8(final)\openpowerlinkdemoappv1.8(final)\openpowerlinkdemoappv1.8\release\OPENPOWERLINK.NET.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001). Error: At least one required implicit or forwarded dependency was not found. Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. How to make this dll to be accessed by visual c++ project?

          Y 1 Reply Last reply
          0
          • G givinisha

            Hi thanks for your reply... When the dependency walker has been installed the visual c++ is missing these dll. MSVCM90D.DLL,MSVCR90D.DLL,IESHIMS.DLL,WER.DLL Got error as Error: The Side-by-Side configuration information for "c:\documents and settings\administrator\my documents\givi\learning materials\acadamic_project\openpowerlinkdemoappv1.8(final)\openpowerlinkdemoappv1.8(final)\openpowerlinkdemoappv1.8\release\OPENPOWERLINK.NET.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001). Error: At least one required implicit or forwarded dependency was not found. Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. How to make this dll to be accessed by visual c++ project?

            Y Offline
            Y Offline
            YoavStein
            wrote on last edited by
            #5

            It seems that you are trying to deploy a debug build on a non Visual studio client. You cannot do it. The c run-time is release only.

            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