I have a VC++ project B that is linked into a static library "B.lib". This library is linked into project A which creates A.exe. The constructors for the global varaiables in B do not get called.

1. If I have golbal variables in A then there is no problem - the constructors for those get called.

2. I f the solution (Project A and B) get linked on my coleagues computer then there is no problem.
3. The whole soltion is shared between us via rational clearcase so we have the same sources and the same project files.

- so it must be one of the flags of visual studio - but which???
Thanks,
D.