🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: createfile ("USB")

#10952
From: Leo Havm�ller
Date: Mon, 08 Mar 2004 06:39
15 lines
1290 bytes
"ray" <srayray@hotmail.com> wrote in message
news:404912f0$1@newsgroups.borland.com...
> i want to use create file to open usb port.

There is no such thing as a USB port in the same sense as a COM port.

> but what is the lpFileName in this case?

The "filename" is typically given to you in WM_DEVICECHANGE.

You need to readup on USB basics. See:
http://www.lvr.com/usb.htm
http://www.usb.org/developers/docs/

Leo Havm�ller.
Technical Details
Message-ID: <404c153c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <404912f0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,fdbc115acd722a61
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-07 23:09:40 PST
From: "Leo Havm�ller" <leh@-nospam-rtx.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <404912f0$1@newsgroups.borland.com>
Subject: Re: createfile ("USB")
Date: Mon, 8 Mar 2004 07:39:58 +0100
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 80.63.27.146
Message-ID: <404c153c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078727996 80.63.27.146 (7 Mar 2004 22:39:56 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail