Suppose I have an addin dll (Addin.dll) for application App.exe that links with Static Library Foo.lib.
Foo.lib is created while building application App.exe. App.exe has multiple minor releases say App.exe (Version 1.0), App.exe (Version 1.1),etc.
My Addin.dll (Version 1.0) links with the base version of Foo.lib ( Version 1.0, corresponding to App.exe (Version 1.0)).
Is it safe to use my Addin.dll (Version 1.0) with higher version of App.exe (Version 1.8)?
Conversely, if I build my Addin.dll (version 1.8) by linking with higher version of static library Foo.lib (Version 1.8, corresponding to App.exe (Version 1.8)), is it safer to use Addin.dll (version 1.8) with lower version application App.exe (Version 1.0)?
What are the issues I am likely to face in both the approaches?
Assume that the compiler version is same for all the minor version of App.exe.
Thanks in Advance!