From: "Jerry van Dijk" <jvandyk@ibm.net>
Subject: Re: [HELP] How can I retrieves filenames?
Date: 1998/02/15
Date: 1998-02-15T00:00:00+00:00 [thread overview]
Message-ID: <01bd3a35$8459d780$462c5c8b@aptiva> (raw)
In-Reply-To: 6c4gbo$ja8$1@sibyl.sunrise.ch
> I study Ada 95 at school and I don't know how I can retrieve the
filenames
> in a directory under UNIX (Solaris 2.?) and Windows (95 and NT).
>
> Is there a package to do that?
>
> Should I use the Windows API (It seems to be not portable to UNIX?)
To do this portable you need to use a Posix binding.
For Solaris there probably is a Florist version for GNAT,
for Win95/NT there is a partial binding available (see my
homepage: http://stad.dsl.nl/~jvandyk)
Otherwise write a single package "directories" which
contains the functionality you need. This package should
have one spec (.ads) file and two implementations,
one for Win95 (using the MS C Runtime Library) and one
for Solaris (using libc).
Success,
Jerry.
next prev parent reply other threads:[~1998-02-15 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-14 0:00 [HELP] How can I retrieves filenames? Newtelco News
1998-02-15 0:00 ` Jerry van Dijk [this message]
1998-02-19 0:00 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox