MSVCR90.DLL没有被发现 [英] MSVCR90.DLL was not found

查看:111
本文介绍了MSVCR90.DLL没有被发现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这样的问题已经被问过,但情况稍有不同,所有关于这个问题的答案并没有为我工作。

我想要编译VS2008一些C code和它不会创建一个exe。此外,当我试图与F5运行它,我得到:


  

此应用程序未能启动
  因为MSVCR90.DLL没有找到。


我做了一些谷歌搜索,它说,这是因为安装在我的C ++再发行组件包wasnt。所以,我安装了,重新开始一切,再次尝试。但是,唉,我还是得到同样的错误。没有人有任何线索如何解决这一问题?


解决方案

这听起来像无论是与你的VS2008安装问题,还是出错了DLL搜索路径。 MSVCR90.DLL在安装时安装VS2008,你不应该有安装任何额外的可再发行组件包。

首先,我会检查你的PATH环境变量,并确保在它里面没有gobbledydook将打破一些条目,如果你没有找到问题出现,那么我会卸载并重新安装Visual Studio中。

您也可以尝试搜索MSVCR90.DLL(和其他DLL喜欢它),并将其移动到您的Windows / System32文件夹中。

如果你只是想告辞了,你可以做的另一件事就是改变你的项目以静态链接到运行时库,然后将它甚至不会尝试加载DLL。转到您的项目设置,配置属性 - > C / C ++ - > code生成,并从多线程DLL改变运行时库,只是多线程(或任何不以DLL结束选项)<。 / p>

I know a question like this was already asked, but the situation is a little different, and all the answers on that problem didn't work for me.

I'm trying to compile some C code in VS2008 and it doesn't create an exe. Also, when I try to run it with f5, I get:

This application has failed to start because MSVCR90.DLL was not found.

I did some googling and it said that this was because my c++ redistributable package wasnt installed. So I installed that, restarted everything and tried again. But alas, I still get the same error. Does anyone have any clue how to fix this?

解决方案

It sounds like either a problem with your VS2008 installation, or something wrong with your DLL search path. MSVCR90.DLL is installed when you install VS2008, you shouldn't have to install any additional redistributable packages.

First I would check your PATH environment variable and make sure there is no gobbledydook in it that will break some of the entries, and if you don't find a problem there, then I would uninstall and reinstall Visual Studio.

You could also try searching for MSVCR90.DLL (and other DLLs like it), and move them to your Windows/System32 folder.

If you just want to get going now, another thing you could do is change your project to statically link to the runtime libraries, and then it wont even try to load that DLL. Go to your Project settings, Configuration Properties->C/C++->Code Generation and change Runtime Library from Multi-Threaded DLL to just Multi-Threaded (or any of the options that doesn't end with DLL).

这篇关于MSVCR90.DLL没有被发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆