Tuesday, August 07, 2007

VCRedist.exe - MSVCR80.dll & Msvcm80.dll

Are you having a problem where your application does not start or does not work correctly and you getting an error message that a dll could not be loaded or your application could not be started..... Use the Dependency walker to find out if there is any dll that is missing on your computer. If you see that msvr80.dll or msvcm80.dll (or a bunch of others that are listed on this page: http://support.microsoft.com/kb/923610), then you need to obviously get these files onto your machine. The wrong way to do this is - to just copy the files from a machine that has the files. The reason for this is that these were meant to be installed as side by side assemblies and should normally go into your %windir%/SxS folder. So if you were to just copy these files onto your machine - you will be cluttering it up and depending on where you drop them - you could be proping yourself up for a DLL hell scenario. So what do you do..... The best option is to go back to the person who developed the app and ask them for the latest VcRedist package. I am not sure why Microsoft hasnt released these as installers from their website and so the only way to get them is from a computer that has Visual Studio 2005 installed. Also I think the 80 version is available only if you upgrade VS2005 to Service Pack 1. So if you are the developer - then look in the following folder for "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86" for the file "vcredist_x86.exe". This installer will correctly install the VC++ runtime dlls.

3 comments:

TC said...

AWESOME STUFF... thanks for the help, we were running into issues when we installed our app on some machines that didn't have the same version of these libraries. This helped us out!

THANKS

Patrick M said...

Great, thanks very much! Dunno why you were the only one keen enough to enlighten the rest of us.

Patrick M said...

Great, thanks very much! Dunno why you were the only one keen enough to enlighten the rest of us.