从"MSVCR90.dll"中删除依赖项 [英] remove dependency from “MSVCR90.dll”

查看:77
本文介绍了从"MSVCR90.dll"中删除依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个dll abc.dll.但是当我在依赖项walker中打开它时,我依赖于 MSVCR90.dll .我想将此类项目的属性设置为独立于该dll,并且可以依赖于 MSVCRT.dll .怎么可能.我正在使用vs2008.

I have a dll abc.dll.but when I open it in dependency walker,I depends on the MSVCR90.dll. I want to set the property of the project such type it should be independent of that dll and it can be dependent on MSVCRT.dll. How it is possible.I am using vs2008.

推荐答案

我不认为您可以专门针对MSVCRT-每个Visual版本的MS Visual C ++运行时都会更改工作室,您必须定位正确的工作室.如果担心客户端将没有该库,则必须随安装程序或发行版一起提供Visual C ++ Redistributables:

http://www.microsoft.com/download/zh-CN/details.aspx? displaylang = en& id = 29 [ ^ ]

不要试图捏造到旧版本的链接,否则您将获得异常和崩溃.
I don''t think you can target MSVCRT specifically - the MS Visual C++ runtime changes with each version of visual studio, you MUST target the correct one. If you are concerned that clients will not have the library, you must provide the Visual C++ Redistributables with your installer or release:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29[^]

Don''t try to fudge a link to the older version - you''ll get exceptions and crashes.


这篇关于从"MSVCR90.dll"中删除依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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