View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006351 | JEDI VCL | 00 JVCL Components | public | 2014-11-08 20:11 | 2014-12-04 16:24 |
| Reporter | pixsoft | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | acknowledged | Resolution | open | ||
| Product Version | Daily / GIT | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0006351: jvHidControllerClass not working under Windows 8.1 | ||||
| Description | Installed 3.48 with Delphi 2009. Building the BasicDemo and running it results in an error dialog "Device cannot be opened", rendering jvHidController unuseable. | ||||
| Tags | No tags attached. | ||||
|
|
Opening the BasicDemo project under Windows 8.1 causes the immediate error "Device cannot be opened". Details: [49D1E465]{JvSystem120.bpl} JvHidControllerClass.TJHidDevice.CtlCreate + $1B1 [49D20007]{JvSystem120.bpl} JvHidControllerClass.FillInList + $147 [49D200FE]{JvSystem120.bpl} JvHidControllerClass.TJvHidController.DeviceChange + $2A |
|
|
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); begin Handled := True; // eliminate "Device cannot be opened" error end; Maybe a default OnDeviceCreateError event handler should be added to the HID demos? |