When "Lock Computer" is selected, Rendering device not found
Posted on 2006-06-22
I'm having trouble detecting when a computer is sent into locked mode.
The problem is that if my application is maximized, the 3D module gives the error "Render Error: Cannot get a D3D device for rendering" as soon as the computer enters locked mode. In most cases the app ends up having to be killed by the task manager.
I need to be able to detect when the computer is locked or when the rendering device is not available so that I can suspend drawing until the user loggs back in.