Visual Studio 2012 lib can work with VS2008 app on Win8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    #1

    Visual Studio 2012 lib can work with VS2008 app on Win8

    I have Two questions, sorry if it is some basic.

    1) I did received .lib (library) file compiled with Visual studio 2012 (VS2012), I have some application compiled with VS2008, can I use that .lib compiled with VS2012 with VS2008 application?.

    2) The above lib generated for Win8 Desktop apps, how I will know whether that lib compatible with Metro?.

    Thanks a lot.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    If your VS2008 lib works in a VS2012 build , you should be okay. Forward compatibility is more likely than backward compatibility.

    The only question I have is whether this is a lib you have developed or whether it is a Microsoft lib. If the latter, you may be missing bug fixes.

    Generally speaking if your calls resolve themselves in the link using a lib, then it's a good bet the linker found the code for the call to the lib function.

    Comment

    Working...