Search found 2 matches

by Paul
Wed Aug 29, 2007 9:45 am
Forum: Developer's Forum for Windows
Topic: COMless interfacing
Replies: 22
Views: 61742

two devices, HID, two threads

Hello Jim, Thanks for the fast response! My java bindings are working now. I decided to make two threads on the java side and let them block in the native code on the read call. This is perhaps not the cleanest solution since I can't do a proper shut down of the HID stuff while there is a blocked re...
by Paul
Wed Aug 29, 2007 7:31 am
Forum: Developer's Forum for Windows
Topic: COMless interfacing
Replies: 22
Views: 61742

two devices, HID, WaitForMultipleObjects problem

So both the WM and HID examples work nicely with one device, but I'd like to use two, and use them both from Java, so in this sense the HID example looks more attractive to me as a starting point. I'm wondering if anyone might have figure out the problem with WaitForMultipleObjects. On my machine it...