VS 2008 - Link against older C runtime

后端 未结 3 907
Happy的楠姐
Happy的楠姐 2020-12-21 10:48

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

3条回答
  •  囚心锁ツ
    2020-12-21 11:25

    I think Microsoft specifically says "don't do this." The thing is, msvcrt.dll is now considered to be part of the OS, not part of any particular app, and not a redistributable. MS may update it with a Service Pack, and may change behavior significantly, as they did with XP SP2. Which would break apps! So... Don't Do It.

提交回复
热议问题