Click to See Complete Forum and Search --> : Open HID port using CreateFile.


March 22nd, 2000, 04:21 AM
I've got some problems on W2k DDK.
There's a sample code in 'NTDDK\src\wdm\hid\hclient' for USB HID.
This sample's well running on Win98.., but not on W2k.
After compiled this sample, and pluged in the USB keyboard, and run it 'hclient.exe', but you can't run the 'Block Read Data' button.
Only you can see the message 'Unable to open device...'.
I concerned about this button at the most.
And then I debugged and traced this sample.
In Pnp.c, CreateFile API with GENERIC_READ parameter was failed for USB keyboard.
I'd like to modify this sample for my some using, what could I do?
Could you tell me what should I do?
I want to receive the detail advice and information.
Thanks for your time.

Rick Leinecker
March 28th, 2000, 10:29 AM
What does the application do?

Would you mind zipping the project and emailing it to me at ivt-rcl@interpath.com?

May 9th, 2000, 03:19 PM
cvbvcbc

June 8th, 2000, 12:28 PM
shut up you muppet