Hi Stephen, I don't have a windows dev machine so can't test osgviewerMFC, the best I can do is make suggestion for others to try out...
In this case if behavior is different between debug and release then it will typically be either a thread timing issue or an unitialized variable. Personally I'd start with the later - go through all the osgviewerMFC variables and check if they are initialized in the constructors correctly. Robert. On 6/21/07, Stephen Northcott <[EMAIL PROTECTED]> wrote:
>> Hi Stephen, I've tested osgViewerMFC over OSG-2.0 (stable) and I can >> open more than one files simultaneously without any problem. >> Have you make a trace to see why is the previous process stopping ? >> Ensure you are not mixing different osg versions in your PATH var. Hi Miguel, This is on a clean machine, and a clean installation, so it wouldn't work unless I have the right libraries. I have run this in Debug mode and whilst the first OSG window always opens perfectly, and can be closed / re-opened as many times as I choose.. any attempt at getting a second or third window causes an unhandled exception which normally ends up with a return address somewhere in 'Texture.cpp'. (This then gives me a blank blue new window (if I continue running), and the process in the previous window dies and stops rendering.) If I shut them all down again, and it doesn't take out the entire app then I can start again with 1 window without any problems. The actual crash / exception that triggers this all appears to be the return from msvcrt.dll, which I obviously cannot trace that easily. But it appears to be a memory allocation / management problem at the end of the day... as with all these things! That's about as far as I can take it for right now unless you have some idea? :-) I have now twice downloaded and re-compiled OSG2.0 using the provided MFC example without modification at all. And I can run all other demos fine from the examples folder with this build. So I am totally at a loss for where to look right now... Kind regards, Stephen. _______________________________________________ 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/
