Re: New user questions

Xiaofan Chen <[email protected]>
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <CAGjSPUAD4YAf5=ttpY+Q8VCXTJHfg8bS0TB-VSJrf5FxFT8dXg@mail.gmail.com>
On Thu, Jun 5, 2014 at 12:16 AM, Sid Price <[email protected]> wrote:
> Hello, please forgive this very basic question but I am new to LibUSB-Win32
> and trying to get started making my application.
>
> I am using the Filter driver and that is installed and appears to be
> working, I have run the wizard to create the filtered driver for my USB
> device and the test program shows my USB device.
>
> Now I am ready to start to develop the interface from my application using
> Visual Studio 2010 and ‘C’. I have looked at the files in the
> “libusb-win32-bin-1.2.6.0.zip” and I see “.lib” files, am I correct to link
> my x86 application using “libusb-win32-bin-1.2.6.0\lib\msvc\libusb.lib?”

Yes.

You can also reference the sample project (in VS2008 format) which
is part of the source code download.

You may need to add extra libs as dependencies.
Eg: kernel32.lib advapi32.lib user32.lib setupapi.lib

> Second, I need to find the header files required to build my application. In
> the benchmark application I see “lusb0_usb.h”, is this the only header file
> I need?

Yes.

-- 
Xiaofan

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Libusb-win32-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.