Hi Forest, The StateSetManipuilator has nothing to do with window specific code, it pure C++, so is unlikely to be directly related to the problem you are seeing. More likely is that there is another problem that is lurking all the time. I know this doesn't help much, but hopefully should allow you to look beyond the StateSetManipulator itself.
Robert. 2008/7/8 forest37 <[EMAIL PROTECTED]>: > > hi all, > when i use StateSetManipulator in mfc like this: > mViewer->addEventHandler( new > osgGA::StateSetManipulator(mViewer->getCamera()->getOrCreateStateSet()) ); > > It's ok when the program runs,but when the program is closed ,it > encounters an error at > void __CLR_OR_THIS_CALL _Container_base::_Orphan_all() in file xutility > which is a mfc src file. > > anyone meets such problem? > > forest > > > ________________________________ > 渊波阔宅 湖景人生 > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org