I came accross a strange thing, maybe it's stupid, or I don't have the knowledge of how linking actually works...
I have a project that builds in a static lib, and anoter project that builds in an exe and links to the static lib. Compiled with MSVC 2005, all works well, but what is strage is that the exe has 3 Mb and the lib has 11Mb. How is this possible? I mean, if i link the exe to the static lib, shouldn't all of the obj code be included in the exe?
thx in advance