Hi Ren, I know nothing about ActiveX/IE as I haven't been need coding on Windows for a decade so I can only work with guess. My best guess would be that perhaps the refresh is causing the destruction and recreation of the graphics context, but the OSG hasn't been told about this so it retains all it's handles to the original OpenGL objects and then tries to use them - but they've all be deleted so you get a crash.
Robert. On Thu, Dec 24, 2009 at 7:44 AM, Ren Liwei <[email protected]> wrote: > Hi, > > I have an activeX control which simplily render a pagedlod earth and It can > be loaded from IE successfully. But when I press F5 to refresh the page, it > runs into a crash. The callstack snapshot is in the attachment. > The earth is made by vpb with -terrain. And then I also made a test using > earth without -terrain, it runs well when refreshed. > My compute is ThinkPad SL400 with NVIDIA GeForce G 105M graphics card. > > Is it a bug of osg or my misuse? > > Thank you! > > Cheers, > Ren > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=21843#21843 > > > > > Attachments: > http://forum.openscenegraph.org//files/callstack_203.png > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

