🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
6 messages
6 total messages Started by Shon Wed, 04 Oct 2006 15:40
How do I start USB communication
#3094
Author: Shon
Date: Wed, 04 Oct 2006 15:40
13 lines
1340 bytes
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.
Re: How do I start USB communication
#3095
Author: Bruce Salzman
Date: Wed, 04 Oct 2006 16:33
21 lines
1659 bytes
"Shon" <Shon2006@USB.com> wrote in message 
news:4523d605$1@newsgroups.borland.com...
>
> 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 
Re: How do I start USB communication
#3097
Author: Tom Woodrow
Date: Wed, 04 Oct 2006 16:56
19 lines
1778 bytes
Shon wrote:
> 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
Re: How do I start USB communication
#3099
Author: Shon
Date: Wed, 04 Oct 2006 16:56
10 lines
1066 bytes
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?


>Here's a link:
>http://www.tetradyne.com/dxusb.htm
>
>Bruce 
Re: How do I start USB communication
#3098
Author: Shon
Date: Wed, 04 Oct 2006 17:03
8 lines
1020 bytes
Thanks! looks very interesting :)


>I have not used RapidDriver but it might be worth looking into.
>http://www.entechtaiwan.net/dev/rapid/index.shtm
>
>Tom Woodrow
Re: How do I start USB communication
#3103
Author: Jarek Karciarz
Date: Thu, 05 Oct 2006 11:50
20 lines
1709 bytes
Try libusb from sourceforge. It is free, easy and quite good

Jarek

U�ytkownik "Shon" <Shon2006@USB.com> napisa� w wiadomo�ci 
news:4523d605$1@newsgroups.borland.com...
>
> 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.
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads