andyhartman / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

Exception in .PRESENT #895

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
My question is very simple: 

Using SlimDX's last version in 32 bits, in DirectX9, when I have an application 
that is rendered and now I open any application that requests privileges in 
Windows 7, after answering affirmatively to the question to open her, my 
application fails in the method .PRESENT() with the exception "DeviceLost". 

There is some way of avoiding this exception? 

Thank you.

Original issue reported on code.google.com by jerez.ra...@gmail.com on 19 Jun 2013 at 3:34

Attachments:

GoogleCodeExporter commented 8 years ago
This is a standard "device lost" scenario in DX9 and is handled by resetting 
the device. Another way to trigger it for testing purposes is Windows-L. 
There's more information here:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb174714(v=vs.85).aspx
It is not related to SlimDX per se.

Original comment by promit....@gmail.com on 2 Jul 2013 at 2:39