|
-
April 7th, 2011, 03:19 PM
#1
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...
-
April 7th, 2011, 04:02 PM
#2
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
-
April 8th, 2011, 07:59 AM
#3
Re: VS 2005, Windows 7 and missing DLLs
 Originally Posted by MrViggy
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 ►►
-
April 8th, 2011, 09:18 AM
#4
Re: VS 2005, Windows 7 and missing DLLs
 Originally Posted by hypheni
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
-
April 8th, 2011, 10:11 AM
#5
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).
-
April 8th, 2011, 11:01 AM
#6
Re: VS 2005, Windows 7 and missing DLLs
 Originally Posted by luftwaffe
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
-
April 8th, 2011, 11:04 AM
#7
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
-
April 8th, 2011, 11:38 AM
#8
Re: VS 2005, Windows 7 and missing DLLs
 Originally Posted by luftwaffe
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.
-
April 8th, 2011, 11:53 AM
#9
Re: VS 2005, Windows 7 and missing DLLs
 Originally Posted by luftwaffe
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.
-
April 8th, 2011, 12:27 PM
#10
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...
-
April 8th, 2011, 03:03 PM
#11
Re: VS 2005, Windows 7 and missing DLLs
 Originally Posted by luftwaffe
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.
-
April 8th, 2011, 03:05 PM
#12
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|