From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c72b93d85d765332 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-10 18:54:59 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.stealth.net!news-east.rr.com!news.rr.com!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.91.0.34!typhoon.ne.mediaone.net.POSTED!not-for-mail From: "Jeff Creem" Newsgroups: comp.lang.ada References: <3AFACEC7.C2E67357@icn.siemens.de> <1BFK6.19477$9j1.4714444@typhoon.ne.mediaone.net> Subject: Re: Ada and Hardware X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Fri, 11 May 2001 01:54:26 GMT NNTP-Posting-Host: 24.147.67.93 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 989546066 24.147.67.93 (Thu, 10 May 2001 21:54:26 EDT) NNTP-Posting-Date: Thu, 10 May 2001 21:54:26 EDT Organization: Road Runner Xref: archiver1.sj.google.com comp.lang.ada:7372 Date: 2001-05-11T01:54:26+00:00 List-Id: Anything is possible. Again this does not take away from the original advice on this (which is to use the given path with the win32 bindings)...This is just a fun little diversion. It appears that it is somehow looking at the characters in a special way since the name error does take a while to come back. In addition, if I swap out \\Ada95\Shared\aaa for the \\.\A: string (and use the create v.s. the open version of the call) it does indeed create a file on the win32 server named Ada95 on its shared disk called Shared with a filename of aaa....So it is indeed close to working but not quite right. ...back to real work.. "Fraser Wilson" wrote in message news:fy7y9s4eoz8.fsf@blancolioni.org... > "Jeff Creem" writes: > > > "Ted Dennison" wrote in message > > news:JLCK6.91$j65.11856@www.newsranger.com... > > > In article <3AFACEC7.C2E67357@icn.siemens.de>, Alfred Hilscher says... > > > > > > > >"You can use the CreateFile function to open a disk drive or a partition > > > .. > > > >\\.\A: Obtains a handle to drive A on the user's computer. > > > >\\.\C: Obtains a handle to drive C on the user's computer." > > > > > > Interesting. One has to wonder if this would work with the standard Ada IO > > > operations (eg: Ada.Streams.Stream_IO)... > > > > > > > I just had to know to. It looks like it does not work. > > Is it possible that the documentation assumes that back slashes are > escaped? Though I can't imagine what "\A" means in that case. > > Fraser.