Distributing dll, but cannot find msvcm90.dll on target computer


  • Hi all:
      I am trying to distribute a dll that was written in VC++. However, the dll does not load correctly in the target computer and I get the infamous "This application has failed to start..." error message. After running FileMon and Dependency Walker I find that it is because the dll cannot load msvcm90.dll. This is odd because another dll that was build on the same dev computer runs fine on the target computer. Running Dependency Walker reveals that the dll that has the problem is not looking anywhere for msvcm90.dll (msvcm90.dll is installed on the target computer)

    Does anyone know how to check or define the Runtime Library path for a .NET build? Thanks so much!
    Tuesday, September 01, 2009 8:15 AM


All replies