Hello everyone..

OS: Vista Ultimate
IDE: Delphi 7
API: Clooites DirectX SDK April 2007

I've installed Clootie's DX 9 SDK and i am trying to run a sample.
But it keeps saying that the D3D Device has a non-zero reference count.

This might be because i had tried that sample before but it failed because a DLL was not found (wich i have downloaded now). The D3D device refcount has probably been increased and now i cant run the sample again.

Off course, when you reboot your PC and try again, it WILL run. but is there a easier way of fixing this?? When i'm debugging or playing with the samples, its very annoying to have to reboot your PC a couple of times. It's even more annoying when you are trying to download something big. :lol:

Does anyone knows an easy way to fix it?? :?

Thank you.