Sign in to follow this  

[SLIMDX] Device Lost Management

Recommended Posts

I've been using SLIMDX in VB.NET for sometime with good success on a CAD / Engineering application. The only thing I'm struggling with is the Device management, particularly detecting, capturing and recovering from Device Lost events (caused by PC screensavers, suspends etc) I currently run a global D3D9 device, with a heap of Try > Catch > End Try routines. It works, but it's ugly and seems to cause memory leaks after reseting / rebuilding the device, and doesn't work on some video cards. The SlimDX game framework in the SDK works OK in the demos, but (no offence to the SlimDX guys) the system seems complex, difficult to pull apart and unsuited for my app (basically load up a heap of fixed pipe geometry objects and force a render when complete) Sorry for the vague question, but any advice on simple steps (or pseudo code) I need to create and manage my Device better?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this