1

I am using DirectInput in C++ to acquire the mouse and keyboard for my program. This works fine and I re-acquire if I get the InputLost error.

However, when I press Ctrl+Alt+Del my program gets E_ACCESSDENIED when attempting to acquire, even when the program window is re-selected. This occurs even if I don't actually select an option within the Ctrl+Alt+Del window (just press cancel).

I am curious as to how a program is meant to recover input after this has happened. I am currently running Windows 7.

Werner Henze
  • 16,404
  • 12
  • 44
  • 69
user1539405
  • 111
  • 1
  • 14
  • 1
    When you press Ctrl-Alt-Del, Windows switches to a desktop that you don't have permissions to access. You may have to keep trying until the normal desktop is restored. – Mark Ransom Aug 03 '12 at 01:43

0 Answers0