I am working on a project in Microsoft Visual C++. I want to add the USB
device driver library which is a C
library.
Do I need to build some ext开发者_JAVA技巧ra library to add this USB
library?
Go to the project menu, then properties, configuration properties tab
- at C/C++, general, put the header file directory in "Additional Include Directories"
- in Linker, general, add the directory that the .lib files are in to "Additional Library Directories"
- in Linker, input, add the names of the .lib files to "Additional Dependencies"
Compile you program, and if necessary, copy any .dlls you will need to the directory containing the .exe
精彩评论