Hi,
I found an example in Delphi 7 which uses the TJvHidDevice Controller component. The project is in attached files
In public statements, "MyHidDev: TJvHidDevice;" is indicated.
At the compilation Lazarus said he did not know TJvHidDevice.
What to replace it with ?
It is use un this prosedure :
procedure TfmMain.HidCtl1DeviceChange(Sender: TObject);
begin
if (MyHidDev <> nil) and (not MyHidDev.IsPluggedIn) then
HidCtl1.CheckIn(MyHidDev);
if (MyHidDev = nil) then
HidCtl1.CheckOutById(MyHidDev, Sonelec_VID, Sonelec_PID);
//bHIDDevConnected := (MyHidDev <> nil);
MyHidDev := nil;
Hid_Reset(false);
end;
Thanks