View Issue Details

IDProjectCategoryView StatusLast Update
0006351JEDI VCL00 JVCL Componentspublic2014-12-04 16:24
ReporterpixsoftAssigned To 
Status acknowledgedResolutionopen 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0006351: jvHidControllerClass not working under Windows 8.1
DescriptionInstalled 3.48 with Delphi 2009. Building the BasicDemo and running it results in an error dialog "Device cannot be opened", rendering jvHidController unuseable.
TagsNo tags attached.



2014-11-12 22:06

reporter   ~0021070

Opening the BasicDemo project under Windows 8.1 causes the immediate error "Device cannot be opened".

[49D1E465]{JvSystem120.bpl} JvHidControllerClass.TJHidDevice.CtlCreate + $1B1
[49D20007]{JvSystem120.bpl} JvHidControllerClass.FillInList + $147
[49D200FE]{JvSystem120.bpl} JvHidControllerClass.TJvHidController.DeviceChange + $2A


2014-11-19 04:11

reporter   ~0021072

Previous note still applies but the runtime error in BasicDemo.exe can be corrected by adding an event handler to HidCtl.OnDeviceCreateError as follows:

procedure TMainForm.HidCtlDeviceCreateError(Controller: TJvHidDeviceController;
  PnPInfo: TJvHidPnPInfo; var Handled, RetryCreate: Boolean);
  Handled := True; // eliminate "Device cannot be opened" error

Maybe a default OnDeviceCreateError event handler should be added to the HID demos?

Issue History

Date Modified Username Field Change
2014-11-08 20:11 pixsoft New Issue
2014-11-12 22:06 pixsoft Note Added: 0021070
2014-11-19 04:11 pixsoft Note Added: 0021072
2014-12-04 16:24 obones Status new => acknowledged