Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

USB library for Visual C++

Status
Not open for further replies.

overflow

Advanced Member level 4
Joined
Jul 20, 2001
Messages
1,347
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
142
visual c++ usb

Hi all,

I am searching for a library (a .lib file) to develop an application with USB support. Please can someone help me to find this library and the specifications to use it ?


Thanks a lot
Overflow91
 

manitooo

Full Member level 2
Joined
Oct 30, 2001
Messages
136
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Activity points
1,427
c++ usb library

the lib with USB support depends on usb device to speak with.
You'll need a Driver to communicate with...

In fact, Windows already includes driver for standard USB device such as HID devices or mass storage devices... In fact, there no lib for USB because it does not work like RS232 or LPT port. If your USB devices is among the generic USB class, you just need to interface yourself with the common driver and lib (you surely need to use DDK : Driver developpement kit in order to have headers files and lib files. )

In order to develop your own interface with usb devices, you'll need a lot of time to developp the driver (you could instead use a generic driver, like windriver or USBIO but the cost is about 3500$ for the last one) or use a driver developpement software like Driver Studio... But I wish you good luck

I really suggest you to use FTDI chip, where driver is already developped and free supplied. dll is supply to.. and the USB componants cost about 8$ by one....
URL : www.ftdichip.com

nevertheless, If you really need to communicate with usb device, it hope that it's a common class device :!
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,861
usb visual c++

HiTex do a USBIO, a universal USB device driver, i'm sure you can find it with google. This allows you to talk to any usb device, using bulk isochronous or interrupt transfers.
The source code for the driver is included, writen in M$ VC.
It exposes an interface to be used by win 32 aplications.
I have it, give me site, I will send it to you.
hope this helps.
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,861
usb library

Another good option, is to look at FTDI chips, they enumerate as a comm port. They provide royalty free drivers for all popular os.
Makes it very easy.
:D
 

Jayson

Full Member level 4
Joined
Oct 8, 2001
Messages
234
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
Brazil
Activity points
2,328
visual c usb

Does anyone have the latest Microsoft Windows XP DDK?

- Jayson
 

usbman

Advanced Member level 4
Joined
Sep 22, 2002
Messages
118
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Location
Germany
Activity points
1,019
usb library for c++

Thesycon (www.thesycon.de) has a good universal driver for USB
I recomment to check out their demo.
Source of the lib for C, delphi is included.

If it is ok for you come back :wink:

cheers UsbMan
 

manitooo

Full Member level 2
Joined
Oct 30, 2001
Messages
136
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Activity points
1,427
usb lib

USBIO is so expensive

last year : it was 4000$ for the binaries of the driver and 8000 $ for sources included
argggh
 

Jørd

Junior Member level 2
Joined
Aug 9, 2001
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
156
c++ usb lib

Well, apparently there's a "light" USBIO version that is free. It has some limitations, but maybe it's still enough:
* Supports no more than one one Interrupt or Bulk IN endpoint.
* Doesn't support isochronous endpoints
* Supports no more than one endpoint
* Doesn't support class-specific and vendor-specific requests on endpoint zero (EP0) (Supports standard requests on EP0)
It comes with the following :
* USBIO driver executable (usbio_lt.sys)
* demo application executable (usbioapp.exe)
* source code of the C++ class library (usbiolib)
* source code of the C++/MFC demo application (usbioapp)
* USBIO COM interface (usbiocom.dll)
* source code of the USBIO COM demo applications (written in Visual Basic and Delphi)
* USBIO Installation Wizard
* complete documentation
* license agreement
The actual download can be found here hepp://3*w.thesycon.de/usbio/eng/dl_usb_l.htm
 

dahlsse

Newbie level 3
Joined
Jan 28, 2003
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
12
visual c++ usb library

how can i get full version
 

real_tr

Member level 3
Joined
Mar 22, 2002
Messages
63
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Turkiye
Activity points
433
c usb library

need full version too
if you want to share
 

Sobakava

Full Member level 6
Joined
Mar 27, 2002
Messages
350
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Activity points
3,346
windows c++ usb

anyone has US*B2D*LL from br*a*intech*nology.de ?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top