Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am developing an application to interface with USB device. When i include "hidsdi.h", it says the below error,
LINK : fatal error LNK1104: cannot open file hidsdi.lib

I have these "hidsdi.h" file in the local directory. Even i had given

#pragma comment (lib, "hidsdi.lib") but i get the same error.

I tried in google but i didn't get these library. Anyone can suggest from where can i get these library "hidsdi.lib".
Posted

1 solution

There is no hidsdi.lib, there is hid.lib. It's in WinDDK.
 
Share this answer
 
Comments
Mohanraj Sam 30-Dec-10 3:53am    
Hi Igor,
Thanks for ur reply. I realized that there is no hidsdi.lib. Then i included hid.h to fix these problem, but inside hid.h "usb.h" is included. when i compile i get the error as unable to find usb.h. I unable to find in google, where can i get usb.h?

Regards
Mohan
Igor Kushnarev 30-Dec-10 7:27am    
In WinDDK too. c:\WinDDK\6001.18002\inc\api. You can see example how all it works at http://www.alanmacek.com/usb/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900