comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeff Creem" <jeff@thecreems.com>
Subject: Re: Ada and Hardware
Date: Fri, 11 May 2001 01:54:26 GMT
Date: 2001-05-11T01:54:26+00:00	[thread overview]
Message-ID: <mDHK6.19607$9j1.4774101@typhoon.ne.mediaone.net> (raw)
In-Reply-To: fy7y9s4eoz8.fsf@blancolioni.org

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" <blancolioni@blancolioni.org> wrote in message
news:fy7y9s4eoz8.fsf@blancolioni.org...
> "Jeff Creem" <jeff@thecreems.com> writes:
>
> > "Ted Dennison" <dennison@telepath.com> 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.





  reply	other threads:[~2001-05-11  1:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-10 13:02 Ada and Hardware chris.danx
2001-05-10 13:36 ` Ted Dennison
2001-05-10 14:00   ` chris.danx
2001-05-10 14:52     ` Ted Dennison
2001-05-10 18:20       ` chris.danx
2001-05-10 20:01         ` Jerry van Dijk
2001-05-10 20:54           ` chris.danx
2001-05-10 13:54 ` Tarjei T. Jensen
2001-05-10 14:10   ` chris.danx
2001-05-10 14:34     ` Tarjei T. Jensen
2001-05-10 18:28       ` chris.danx
2001-05-14  7:40         ` Kretschmer, Matthias
2001-05-10 17:24 ` Alfred Hilscher
2001-05-10 20:22   ` Ted Dennison
2001-05-10 23:35     ` Jeff Creem
2001-05-10 23:58       ` Fraser Wilson
2001-05-11  1:54         ` Jeff Creem [this message]
2001-05-11 19:13       ` Randy Brukardt
2001-05-14 10:27         ` Alfred Hilscher
2001-05-10 20:53   ` chris.danx
2001-05-11 21:45 ` GNAT for DOS chris.danx
2001-05-13 19:52 ` Ada and Hardware chris.danx
2001-05-14  0:18   ` Jeff Creem
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox