🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4830

Access a USB port from BCB

#4830
From: Bogdan
Date: Sun, 27 Nov 2005 21:09
12 lines
1358 bytes
Hello,

I want to make an applicaton to connect two PCs via an USB cable.
As far as I read from the MSDN site, I can do this without having to
write a specific driver, because I already know what application is at
the other end of the connection, so I can use raw read/write directly
to the port(I guess using something like CreateFile/WriteFile...).
Can anyone give me an idea on where to start, or some sample
code on how to do this.

Thanks
Bogdan 
Technical Details
Message-ID: <438a207b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5d80b591ab92bd02,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Bogdan" <boprea@xnet.ro>
From: "Bogdan" <boprea@xnet.ro>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Access a USB port from BCB
Date: Sun, 27 Nov 2005 23:09:49 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 85.186.237.190
Message-ID: <438a207b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1133125755 85.186.237.190 (27 Nov 2005 13:09:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail