titanandrews
Programmer
Hi All,
I have a question regarding creating a dll and static linking against a dependent .LIB. In what cases does the dll need to be compiled and re-linked for it to function correctly during runtime?
1) If the .LIB has been re-compiled and NOTHING has been changed?
2) If the .LIB has been re-compiled and something HAS changed, for example new functions have been added?
3) If the .LIB has been compiled with a different version than the dll you are trying to create?
I know number 2 is true, but I am not sure about 1 and 3. I know that the MSVS compiler will encrypt a version number and embed it into the .dll and .lib files but what does that really affect?
many many thanks,
B
I have a question regarding creating a dll and static linking against a dependent .LIB. In what cases does the dll need to be compiled and re-linked for it to function correctly during runtime?
1) If the .LIB has been re-compiled and NOTHING has been changed?
2) If the .LIB has been re-compiled and something HAS changed, for example new functions have been added?
3) If the .LIB has been compiled with a different version than the dll you are trying to create?
I know number 2 is true, but I am not sure about 1 and 3. I know that the MSVS compiler will encrypt a version number and embed it into the .dll and .lib files but what does that really affect?
many many thanks,
B