From: "David Botton" <David@Botton.com>
To: <comp.lang.ada@ada.eu.org>
Subject: Re: Win32 filetype problem
Date: Sun, 16 Sep 2001 00:11:00 -0400
Date: 2001-09-16T00:11:00-04:00 [thread overview]
Message-ID: <mailman.1000613472.2112.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: B6A1A9B09E52D31183ED00A0C9E0888C469C65@nctswashxchg.nctswash.navy.mil
> Even if you don't use the POSIX binding directly, it's a good
> source for seeing how to use the Window's API.
I would also suggest looking at the body of GWindows packages
(http://www.adapower.com/gwindows) for an alternative style to using the
Win32 bindings. It is easier to roll your own and take advantage of Ada's
superior ability to interface with C over a raw translated binding. Although
GWindows does not include support for most file related functions since GNAT
has very good packages for handling that already:
I _HIGHLY_ recommend looking at
GNAT.OS_Lib (take a look at
/GNAT/lib/gcc-lib/pentium-mingw32msv/2.8.1/adainclude/g-os_lib.ads)
and
GNAT.Directory_Operations
(/GNAT/lib/gcc-lib/pentium-mingw32msv/2.8.1/adainclude/g-dirope.ads)
I highly recommend spending time looking through the directory above at all
the g-* files for a lot of "goodies". Also, look at
http://www.adapower.com/lang there is a section of examples on using some of
the GNAT packages there.
David Botton
next parent reply other threads:[~2001-09-16 4:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <B6A1A9B09E52D31183ED00A0C9E0888C469C65@nctswashxchg.nctswash.navy.mil>
2001-09-16 4:11 ` David Botton [this message]
2001-09-16 7:44 ` Win32 filetype problem Pascal Obry
2001-09-14 16:19 Beard, Frank
2001-09-14 18:34 ` martin.m.dowie
2001-09-15 9:16 ` Pascal Obry
-- strict thread matches above, loose matches on Subject: below --
2001-09-14 9:57 Martin Dowie
2001-09-14 10:17 ` Martin Dowie
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox