1

For c++ lib,

I am wondering if there is a way or tool to determine if a lib is for which version of visual studio.

I think different visual studio should use different version of lib. Some libraries does not specify and using the wrong visual studio will have compile/link error.

Adam Lee
  • 24,710
  • 51
  • 156
  • 236
  • It doesn't take much, [Notepad will do](http://stackoverflow.com/questions/19487465/how-to-tell-if-a-lib-was-compiled-with-mt-or-md/19493162#19493162). – Hans Passant Nov 25 '14 at 02:00
  • I use notepad, but don't know how to see which version of Visual studio? – Adam Lee Nov 25 '14 at 02:20
  • "Microsoft Visual Studio 12.0" in the example. – Hans Passant Nov 25 '14 at 02:22
  • No such kinda strings – Adam Lee Nov 25 '14 at 02:27
  • 1
    http://stackoverflow.com/questions/1411854/is-there-a-way-to-determine-which-version-of-visual-studio-was-used-to-compile-a – go4sri Nov 25 '14 at 06:10
  • Puzzled by the results I get. I tried it (using notepad) on 10 libs all compiled in my current project /solution with same options. 4 of them gad this information , 6 not. Using release of debug didn't make any difference. – qqqqq Feb 25 '16 at 19:03

0 Answers0