From: Dirk R. <re...@ig...> - 2003-06-20 11:11:20
|
Hi Desiree, 90% of these kinds of crashes stem from mixing Debug and Release code. When you compile your code in Release mode, you have to use the Release libs (OSGBase.dll, OSGSystem.dll, OSGWindowQT.dll), in Debug mode you have to use the Debug libs (OSGBaseD.dll, OSGSystemD.dll, OSGWindowQTD.dll). Looking at your .dsp it looks like you're using the Release libs also in Debug mode, can you change that and try again? The reason is that Windows uses different heaps for Release and Debug code, i.e. any memory allocated in a Release library can only be freed in the Release library and not in the Debug code, which clashes quite strongly with STL usage and in general with any inline code (which we use quite a bit). Hope it helps Dirk -- -- -- Dirk Reiners OpenSG Forum di...@op... -- The OpenSG Open Source Scenegraph: http://www.opensg.org -- Announcements: http://lists.sf.net/lists/listinfo/opensg-announce |