I implemented #15 for _stringTable and also another static variable daeMetaElements::_metas which caused crashes after the _stringTable was fixed up. Now the DOM no longer has global initialization problems.
These fixes will be in the DOM svn sometime soon. -Andy [EMAIL PROTECTED] wrote: > On Thu, 2006-09-28 at 13:41 +0100, Roger James wrote: >> I tried some permutations of the ms specific #pragma init_seg directive but >> I still cannot get the order right :-(. I think Andreas' solution might be >> the one. > > It will certainly work fine. Still, we'd like to solve this Win32 > ordering problem internally to the COLLADA DOM as well. We don't want to > force applications to handle it. > >> An interesting link that may be relevant >> >> http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.12 > > a very good link! > > I think http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.15 is > worth exploring (for daeStrengRef::_stringTable). > > Regards, > Marcus > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
