DLL missing

I wrote a simple hello world program
and gives me error when i try to run the application..

"the procedure entry point _invoke_watson cound not be located in the dynamic link library MSVCR80D.dll"

-mic




Answer this question

DLL missing

  • tc627

    I just created a new project under VS 2005 Beta 2 and hit the same error that started this thread, but other projects that I've done work.  

    I verified that the copy under the correct manifest directory for VS Beta 2 is version 8.0.50215.44 and the one under the \Windows\System32 is 8.0.40607.16. 

    Questions: Should there even be a copy of msvcr80d.dll sitting in the Windows\System32 directory   Having it here seems to contradict the designs of WinSxS.   Or is this just an unwanted artefact of a previous beta install  

    I "hid" the copy uner Windows\System32 and ran the executable.  The loader complains that it cannot find msvcr80d.dll.  (sigh)  Okay, well that says that my exe doesn't have manifest info.

    I hit this exact issue before (actually twice), where if I open the executable with the resource editor, it'll complain "can't enumerate resources."  I never did find the cause of it.

    Both times I hit it, I posted it:
    http://forums.microsoft.com/msdn/ShowPost.aspx PostID=57505
    http://forums.microsoft.com/msdn/ShowPost.aspx PostID=80576

    In both cases, it was not clear what I did to fix the problem.

    Now this case.  After completely recreating my project from scratch (reintroducing my cpp files), the problem went away.  (Before I tried deleting the debug directory and rebuilding, but that appeared to be insufficient, but perhaps I wasn't "careful" enough.) 









  • Xtamillion

    You probably have an old MSVCR80D.dll in the path. Please verify that you are loading the correct MSVCR80D.dll.

    Put it under the debugger and see the location of the MSVCR80D.dll that you are picking.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • Denny B

    I hit the missing msvcr80(d).dll dialog yet again, in the middle of normal development.  After nuking my debug and release directories and rebuilt, the problem did NOT go away.  After renuking these directories, shutting down the IDE, starting it back up, and rebuilding, the problem DID go away.  Apparently there is something in RAM interfering with the creation of the manifest.  Not a very scientific explanation, but it's all I can tell from my vantage point.

  • TFSAdmin

    It says it did load msvcr80d.dll, but still

    -----------------from output window-----------------
    'testapp1.exe': Loaded 'D:\Debug\testapp1.exe', Symbols loaded.

    'testapp1.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Exports loaded.

    'testapp1.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Exports loaded.

    'testapp1.exe': Loaded 'C:\WINDOWS\system32\msvcr80d.dll', Exports loaded.

    'testapp1.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', Exports loaded.

    Debugger:: An unhandled non-continuable exception was thrown during process load

    The program '[4072] testapp1.exe: Native' has exited with code -1073741511 (0xc0000139).



  • Scott Northmore

    I replaced the dll with the one found under WinSxS, and now it seem to work !!
    but can pour some insight into what is going on and which other files need to be replaced under the system32 coz under the same WinSxS directory there are 2 more files namely ..

    msvcm80d.dll
    msvcp80d.dll

    thanks

  • daniel111

    Did you try looking in the %windir%\SxS directory You could be facing an issue related to manifests.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • Lightening

    I did find some more DLL's of the same name
    for ex one was under
    C:\Program Files\Microsoft Visual Studio 8\VC\ce\Dll\x86
    but the sizes are vary diff, the one being used is around 1.2MB and this is one is just around 57kb.

    -mic



  • gnpaolo

    There is one that is currently being used at
    C:\WINDOWS\system32  which is 1016Kb

    and another one at

    C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50215.4652_x-ww_a12cf373 which is 1120Kb


    "You could be facing an issue related to manifests" what do you mean by that

    thanks


  • DLL missing