Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intercept messages from USB auxiliary device
#9
I was attempting this with a bar code scanner input device, which operates like a keyboard. 
However I am getting the error:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at line 42 in Raw input.cs, Program.<<Main>$>g___WmInput|0_0(IntPtr wParam, IntPtr lParam)
   at line 15 in Raw input.cs
   >>

line 42 points to 
    print.it(data,8);
line 15 points to:
    if (m.message == api.WM_INPUT) _WmInput(m.wParam, m.lParam);


Messages In This Thread
RE: Intercept messages from USB auxiliary device - by cuitino - 06-15-2026, 02:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)