Hello, I'm trying to send data my usb device using simpleHIDWrite tool, but I'm getting this error: access violation at address 00000, read of address 00000 Does anyone have an idea about what could be the source of this problem.
I think I know what a null pointer means. In fact after more searching on my problem I found that when I make a report with a report size = 8 and a report count = 64 or more I get this error but when the report count = 63 There is no error and all the data are transmitted, The problem is that I'm transmitting 64 byte while I'm declaring the report count to be 63. I'm supposing that the first byte sent is the report id so the total size of the transmitted data is 63+1=64. I'm wondering If I can omit the report id and use it as a data byte.