Jump to content
Dan Hacker

TJvHIDDeviceController throwing errors after Windows 10 1809 upgrade

Recommended Posts

Just a heads up, we are on an older version of TJvHIDDeviceController and it started throwing ''Device cannot be opened" errors (getting Access Denied on CreateFile) during startup after upgrading to Windows 10 1809 (it was happening in the field, and I had to manually install 1809 to reproduce). This happens as it fills its internal list of the HID devices on the system. I am not yet sure of the variety of devices that will fail in this way, but right now it seems any HID keyboard will do it.

It looks like I'll be able to deal with it using the OnDeviceCreateError event to set Handled:=True (after I upgrade the jvcl).

This recent SO post describes the situation:

https://stackoverflow.com/questions/53761417/createfile-over-usb-hid-device-fails-with-access-denied-5-since-windows-10-180

  • Thanks 1

Share this post


Link to post

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

×