Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2008 - Link against older C runtime

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)?


1 Answers

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...

like image 132
i_am_jorf Avatar answered Dec 07 '25 21:12

i_am_jorf