[Done] PureBasic 6.30 beta 1 - OpenHID() parameter SerialNumber
Posted: Wed Sep 03, 2025 7:57 pm
Tested this code in Windows x64.
If in function OpenHID() add optional parameter "SerialNumber"the application crashes
I also noticed that the HID library is missing a function HidID() (similar FileID(), WindowID() etc.).
If in function OpenHID() add optional parameter "SerialNumber"
Code: Select all
x=OpenHID(0, $1234, $1, 2)
If pass a pointer to a variable, there is no crash, but the device is not found.[ERROR] Invalid memory access. (read error at address 2)
I also noticed that the HID library is missing a function HidID() (similar FileID(), WindowID() etc.).