Empire Earth continued

Lionel Ulmer lionel.ulmer at free.fr
Thu Sep 8 13:41:06 CDT 2005

> Wine releases the surface in 5), Windows doesn't. It appears to me, that 
> Windows doesn't release Surfaces which have a D3D object attached when the 
> DDraw instance they belong to is freed.

Yeah, I suspected that the problem was in the 'force destroy' code. Could
you change your test script to get the reference count of the 'complex'
object before release of the DDraw object and after ? Could you do the same
for the 'normal' objects (mostly before as after it will crash :-) ) ?

After that, it's always a bit tricky to test stuff like this as non-crashing
is not a definite proof that the object was not actually destroyed...


		 Lionel Ulmer - http://www.bbrox.org/

More information about the wine-devel mailing list