CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12
  1. #1
    Join Date
    May 2002
    Location
    Germany
    Posts
    451

    VS 2005, Windows 7 and missing DLLs

    Hi There,

    I just got a new machine, came with a Windows 7. I have license only to VS2005 so I got it installed with SP1 and a Windows 7 specific update. Release builds run fine. I double checked and RM_MANIFEST is there and done properly.

    The problem is only with debug builds, dependency walker shows that MSVCP80D.DLL, MSVCR80D.DLL and IESHIMS.DLL cannot be found. I tried more or less everything I could imagine in the last 10 hours, searched forums but could not find a resolution. I have a bunch of VS2005 and VS2008 redist packages installed (x32 and x64 both). I try to build x32 application (although having x64 libs is not the issue clearly since the dlls are not found - not that those are of wrong version). Any idea might come handy; I am really lost.

    Thanks...

  2. #2
    Join Date
    Feb 2002
    Posts
    4,640

    Re: VS 2005, Windows 7 and missing DLLs

    Install Visual Studio. You cannot redistribute the debug versions of the DLL's. They are only installed with the compiler.

    Viggy

  3. #3
    Join Date
    Jul 2009
    Location
    India
    Posts
    835

    Re: VS 2005, Windows 7 and missing DLLs

    Quote Originally Posted by MrViggy View Post
    Install Visual Studio. You cannot redistribute the debug versions of the DLL's. They are only installed with the compiler.

    Viggy
    Why ?.

    When applications uses mfc80d.dll from their own directory as redistributable.
    ◄◄ hypheni ►►

  4. #4
    Join Date
    Apr 1999
    Posts
    27,449

    Re: VS 2005, Windows 7 and missing DLLs

    Quote Originally Posted by hypheni View Post
    Why ?.
    Because it is a violation of the Microsoft's license agreement when you installed Visual Studio.

    You cannot distribute debug versions of the runtime libraries. The same thing if you bought a software product, and the license agreement says "you cannot do x".

    The only files that can be redistributed are the ones that Microsoft says are redistributable. This includes non-debug versions of the runtime libraries.
    When applications uses mfc80d.dll from their own directory as redistributable.
    I don't understand what you are saying. Regardless, Microsoft prohibits you from distributing debug versions of their libraries.

    Regards,

    Paul McKenzie

  5. #5
    Join Date
    May 2002
    Location
    Germany
    Posts
    451

    Re: VS 2005, Windows 7 and missing DLLs

    I have Visual Studio installed - and I am getting the debug DLLs not found having Visual Studio installed on my developer machine (I do not distribute anything just create a simple main/printf one line application on my box on which VS2005 is installed).

  6. #6
    Join Date
    Apr 1999
    Posts
    27,449

    Re: VS 2005, Windows 7 and missing DLLs

    Quote Originally Posted by luftwaffe View Post
    I have Visual Studio installed - and I am getting the debug DLLs not found having Visual Studio installed on my developer machine (I do not distribute anything just create a simple main/printf one line application on my box on which VS2005 is installed).
    It is hard to keep track of what you're trying to say.

    1) Do you have Visual Studio 2005 installed on the machine that you're having the DLL issues with? If you do, then there is something wrong with your installation, as those DLL's must exist on that machine since VS installed them.

    2) If you do not have Visual Studio installed on the machine you are having problems with, then you can't run debug versions of your application on that machine unless you install Visual Studio.

    Regards,

    Paul McKenzie

  7. #7
    Join Date
    May 2002
    Location
    Germany
    Posts
    451

    Re: VS 2005, Windows 7 and missing DLLs

    OK, so:
    1) I have a new Windows 7 machine (64 bit)
    2) I installed Visual Studio 2005 on that machine
    3) I create a small application (just main and printf)
    4) It runs with release build
    5) It complains about missing DLLs with debug build

  8. #8
    Join Date
    Apr 1999
    Posts
    27,449

    Re: VS 2005, Windows 7 and missing DLLs

    Quote Originally Posted by luftwaffe View Post
    OK, so:
    1) I have a new Windows 7 machine (64 bit)
    2) I installed Visual Studio 2005 on that machine
    3) I create a small application (just main and printf)
    4) It runs with release build
    5) It complains about missing DLLs with debug build
    Can you find those DLL's? If not, then the installation didn't work correctly. If you can find them, please check that they were installed in an accessible directory (one specified by your PATH environment variable).

    Regards,

    Paul McKenzie
    Last edited by Paul McKenzie; April 8th, 2011 at 11:40 AM.

  9. #9
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: VS 2005, Windows 7 and missing DLLs

    Quote Originally Posted by luftwaffe View Post
    OK, so:
    1) I have a new Windows 7 machine (64 bit)
    2) I installed Visual Studio 2005 on that machine
    3) I create a small application (just main and printf)
    4) It runs with release build
    5) It complains about missing DLLs with debug build
    What editon of Visual Studio did you install? Is it VC++ express edition? If so, it may not come with the MFC debug dlls.

    If it isn't an express version (and you've installed VC++), then can you start the debug build from the IDE? In other words, build the 'debug' project, and press F5?

    This should definitely work. If it doesn't, then you should reinstall VS.

  10. #10
    Join Date
    May 2002
    Location
    Germany
    Posts
    451

    Re: VS 2005, Windows 7 and missing DLLs

    VS2005 Professional Edition. No, debug shows the very same error message. I will give reinstall a try as I have no better idea. Worst case I will install XP in a VMWare container and VS2005 on the XP so at least I can develop; I do not build redistributables anyway. Ehh...

  11. #11
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: VS 2005, Windows 7 and missing DLLs

    Quote Originally Posted by luftwaffe View Post
    VS2005 Professional Edition. No, debug shows the very same error message. I will give reinstall a try as I have no better idea. Worst case I will install XP in a VMWare container and VS2005 on the XP so at least I can develop; I do not build redistributables anyway. Ehh...
    Try starting Visual Studio up as an administrator.

  12. #12
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: VS 2005, Windows 7 and missing DLLs

    Also, be sure you have all the Visual Studio 2005 service packs installed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured