BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do I start USB communication

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Shon
Guest





PostPosted: Wed Oct 04, 2006 8:40 pm    Post subject: How do I start USB communication Reply with quote



Hi, I want to read and write bytes from the USB port, I want to
replace all the 'ReadFile' and 'WriteFile' in my program with
something like ReadUSB(), and WriteUSB(), I understood that I
have to use some DDK file from Microsoft site for writting a
driver that can read/write from the USB.

The question is: where can I find a working driver that do that?
I'm sure that many people before me needed that and already
wrote the driver so I don't have to write it by myself, where
can I find this driver? Can you give me a direct link please?

Thanks very much.
Back to top
Bruce Salzman
Guest





PostPosted: Wed Oct 04, 2006 9:33 pm    Post subject: Re: How do I start USB communication Reply with quote



"Shon" <Shon2006 (AT) USB (DOT) com> wrote in message
news:4523d605$1 (AT) newsgroups (DOT) borland.com...
Quote:

Hi, I want to read and write bytes from the USB port, I want to
replace all the 'ReadFile' and 'WriteFile' in my program with
something like ReadUSB(), and WriteUSB(), I understood that I
have to use some DDK file from Microsoft site for writting a
driver that can read/write from the USB.

The question is: where can I find a working driver that do that?
I'm sure that many people before me needed that and already
wrote the driver so I don't have to write it by myself, where
can I find this driver? Can you give me a direct link please?


Here's a link:
http://www.tetradyne.com/dxusb.htm

--
Bruce
Back to top
Tom Woodrow
Guest





PostPosted: Wed Oct 04, 2006 9:56 pm    Post subject: Re: How do I start USB communication Reply with quote



Shon wrote:
Quote:
Hi, I want to read and write bytes from the USB port, I want to
replace all the 'ReadFile' and 'WriteFile' in my program with
something like ReadUSB(), and WriteUSB(), I understood that I
have to use some DDK file from Microsoft site for writting a
driver that can read/write from the USB.

The question is: where can I find a working driver that do that?
I'm sure that many people before me needed that and already
wrote the driver so I don't have to write it by myself, where
can I find this driver? Can you give me a direct link please?

Thanks very much.


I have not used RapidDriver but it might be worth looking into.
http://www.entechtaiwan.net/dev/rapid/index.shtm

Tom Woodrow
Back to top
Shon
Guest





PostPosted: Wed Oct 04, 2006 9:56 pm    Post subject: Re: How do I start USB communication Reply with quote

Thanks very much, looks like a good start-point, although that
even this doesn't look so easy, it's not just a copy-paste code
that I can copy to my application, is it the easiest solution?


Quote:
Here's a link:
http://www.tetradyne.com/dxusb.htm

Bruce
Back to top
Shon
Guest





PostPosted: Wed Oct 04, 2006 10:03 pm    Post subject: Re: How do I start USB communication Reply with quote

Thanks! looks very interesting :)


Quote:
I have not used RapidDriver but it might be worth looking into.
http://www.entechtaiwan.net/dev/rapid/index.shtm

Tom Woodrow
Back to top
Jarek Karciarz
Guest





PostPosted: Thu Oct 05, 2006 4:50 pm    Post subject: Re: How do I start USB communication Reply with quote

Try libusb from sourceforge. It is free, easy and quite good

Jarek

Użytkownik "Shon" <Shon2006 (AT) USB (DOT) com> napisał w wiadomości
news:4523d605$1 (AT) newsgroups (DOT) borland.com...
Quote:

Hi, I want to read and write bytes from the USB port, I want to
replace all the 'ReadFile' and 'WriteFile' in my program with
something like ReadUSB(), and WriteUSB(), I understood that I
have to use some DDK file from Microsoft site for writting a
driver that can read/write from the USB.

The question is: where can I find a working driver that do that?
I'm sure that many people before me needed that and already
wrote the driver so I don't have to write it by myself, where
can I find this driver? Can you give me a direct link please?

Thanks very much.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.