Static vs dynamic library
Hi We know that static library code gets embedded into main exe and changing the static lib doesnot change exe output... Where as in case of dynamic library, we can change the dll and exe considering that DLL need not to be updated... Also due to code embedded into exe, size of exe will be more in compared to dynamic library.. Apart from these, is there any difference between the two in terms of memory and / or speed ? On what basis we should be choosing between static and dynamic library? Another (off topic may be ) query is that my class has one member each into public, private and protected sections.... These code is getting used into main programme generating exe... Does the access specifier into the exe depends where class is defined (into dynamic or static library)? P.s. can we define that our generated static library works only with specific verson of visual studio?