Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006351 [JEDI VCL] 00 JVCL Components major always 2014-11-08 20:11 2014-12-04 16:24
Reporter pixsoft View Status public  
Assigned To
Priority normal Resolution open  
Status acknowledged   Product Version Daily / GIT
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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0021070)
pixsoft (reporter)
2014-11-12 22:06

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
(0021072)
pixsoft (reporter)
2014-11-19 04:11

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?

- 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker