I have a MS C++ project (let\'s call it project A) that I am currently compiling as a static library (.lib). It defines a global variable foo. I have two other projects whic
Yes, you have to make A a shared DLL, or else define it as extern in B and C and link all three statically.