-
January 1st, 2007, 08:33 AM
#1
Constructors for global variables (objects) are not being called
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|