Hi Nick,

On Fri, Feb 19, 2010 at 4:43 PM, Trajce (Nick) Nikolov
<[email protected]> wrote:
> the dll is not undloaded. When I do
> viewer = 0;
> the viewer address and the one that gets down to objectDeleted(void* ptr)
> are slightly different, means viewer.get() != ptr.
> _ptr is not equal to obj

OK, things are getting odder... but I guess we uncover a clue soon.

What happens to the viewer, _ptr and obj values if you modify
osgviewer to construct a viewer on the heap and the delete it by
setting the ref_ptr<> to 0 or letting it go out of scope?

Testing whether the same problems with pointers mismatching when using
a the dll or straight app may give some more clues.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to