VS 2008-链接到较早的C运行时 [英] VS 2008 - Link against older C runtime

查看:38
本文介绍了VS 2008-链接到较早的C运行时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Visual C ++ 2008进行编译并链接到较旧版本的C运行时(我希望版本7而不是9)?

How can I compile using Visual C++ 2008 and link against an older version of the C runtime (I want version 7 instead of 9)?

推荐答案

我认为您要做的是找到项目的链接器->输入属性页,并告诉它专门忽略msvcrtd.dll/msvcrt.dll和然后显式链接到所需的版本(完整路径).不知道如果他们使用相同的名字会发生什么...

I think what you have to do is find the Linker -> Input property page for your project and tell it to specifically ignore msvcrtd.dll / msvcrt.dll and then explicitly link to the version you want (full path). Not sure what will happen if they have the same name...

这篇关于VS 2008-链接到较早的C运行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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