Hi, Stefan.
Thanks for your answer.

I copy the eqHello.cpp to VS 2005/2008/2010, WIN7
but still exception here,

——> eqHello::ApplicationPtr app = new eqHello::Application;

since class Application inherits class Referenced, Referenced.ref() invokes
and

void ref( CO_REFERENCED_ARGS ) const
 {
            EQASSERT( !_hasBeenDeleted );<—— exception

the  !_hasBeenDeleted is true, and _refCount is 4233360(a random value).
Seems the imembers in Application inherits from Reference not initialized
correctly.

So I test _hasBeenDeleted and _refCount in following classes: 

1.
co::base::Referenced ref;// both OK.

2. Node, the subclass of Referenced
co::Node node;// _refCount=0 OK, but _hasBeenDeleted=true(with value 156),
not initialized correctly.

3. my own subclass of Referenced
class myRefChild : public co::base::Referenced
{}
myRefChild ref;//both OK

I've spend many hours but still don't know why.
Is lanuchbox test well?
Do you have any ideas about how to find the cause?

thanks.

maxtangli


--
View this message in context: 
http://software.1713.n2.nabble.com/Problems-with-equalizer-under-VS2010-tp7432795p7547234.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to