comp.lang.ada
 help / color / mirror / Atom feed
From: "martin.m.dowie" <martin.m.dowie@ntlworld.com>
Subject: Re: Win32 filetype problem
Date: Fri, 14 Sep 2001 19:34:50 +0100
Date: 2001-09-14T19:34:50+01:00	[thread overview]
Message-ID: <68so7.9766$Pm5.1801958@news2-win.server.ntlworld.com> (raw)
In-Reply-To: mailman.1000484414.2704.comp.lang.ada@ada.eu.org

"Beard, Frank" <beardf@spawar.navy.mil> wrote in message
news:mailman.1000484414.2704.comp.lang.ada@ada.eu.org...
> The return statement should probably be:
>
>    return Result /= 16#FFFF_FFFF# and then
>           (Result and Win32.WinNT.FILE_ATTRIBUTE_DIRECTORY) /= 0;
>
> Get Pascal Obry's POSIX binding, which is a wrapper around the
> Win32 APIs, off of AdaPower and look at POSIX_Files.Is_File and
> POSIX_Files.Is_Directory.
>
> Even if you don't use the POSIX binding directly, it's a good
> source for seeing how to use the Window's API.

comes to the same thing doesn't it?

anyway, thanks for the tip - I assume this is the one in adapower?..





  reply	other threads:[~2001-09-14 18:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-14 16:19 Win32 filetype problem Beard, Frank
2001-09-14 18:34 ` martin.m.dowie [this message]
2001-09-15  9:16   ` Pascal Obry
     [not found] <B6A1A9B09E52D31183ED00A0C9E0888C469C65@nctswashxchg.nctswash.navy.mil>
2001-09-16  4:11 ` David Botton
2001-09-16  7:44   ` 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