Hi Thibault,

Thanks for the response, but I confess to being still a little confused. I have 
debug builds of my ActiveX control, and Debug builds of the OSG libraries. I 
know the allocation number of a memory block that is leaking, but this is 
within the OSG world. Do I therefore have to put the CRTAllocbreak (?) command 
in the OSG libraries ?

I suppose I could go to this extreme, however I suppose what I'm looking for is 
a more general overview of how OSG shuts down. The OSG libraries define a lot 
of constant strings, and these are certainly being leaked when I'm shutting 
down my ActiveX control. It also looks as if the Cameras are hanging around 
too. Evidently I'm OSG is not shutting down properly, and I suppose I was 
looking for pointers as to how this might be occuring.

I'm setting my viewer to NULL after syncing, and the control is being deleted, 
yet its almost as if the OSG reference structures aren't having their count 
decremented and then being destroyed. 

Help!

Neil.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to