Hello,
I am sorry I was mistaken earlier. The newest source for the DOM doesn't
fix this bug. There was a very similar bug I encountered working on a
project before SIGGRAPH and I thought they were the same. It also was a
problem with incorrect global initialization ordering and daeStringTable.

Unfortunately I don't know a way to fix this except for the work around
where the DAE object isn't created until its first used. The MSVC
compiler seems to be behaving incorrectly. I'm no windows dll expert but
the compiler should be initializing the daeStringTable when it enters
the daeStringRef.cpp compilation unit. And it should recognize that the
DAE constructor will enter that compilation unit so initialization needs
to happen before the constructor gets called. It should do the ordering
correctly but does not. I don't see this issue on other platforms.

Again, sorry for my mistake,
-Andy

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.
> 
> An interesting link that may be relevant
> 
> http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.12
> 
> Roger
> 
> 
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:osg-users-
>> [EMAIL PROTECTED] On Behalf Of Roger James
>> Sent: 28 September 2006 13:05
>> To: 'osg users'
>> Subject: RE: [osg-users] Collada plugin not working
>>
>> Mark,
>>
>> I think that is what I got :-)
>>
> 
> 
> _______________________________________________
> 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/

Reply via email to