If a 3rd-party developer gives us .libs and/or .dlls generated with VC++ 2005, can they be used in VC++ 2008? What about if he compiles with 2008 Pro, and we run 2008 Standard/Express?
I know C++ is not as portable as it used to be, what with VC++ runtimes and so on, but I’d like to think at least we can use pre-existing libraries/dlls in a newer version of VC++.
You won’t be able to use 2005 .libs with 2008 – they link to different runtime libraries and the object layout and vtable structure may be slightly different.
You may be able to use .dlls between different versions, but it very much depends on the interface of the .dll. If it exports classes or methods the take classes as parameters or return them, then probably not.