🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10391

Re: FileExists() is using wildcards

#10391
From: Remy Lebeau (TeamB)
Date: Tue, 27 Apr 2004 08:27
15 lines
1422 bytes
"Hans Galema" <dontusethis@dontusethis.nl> wrote in message
news:408e0d39$2@newsgroups.borland.com...

> That did not compile for several reasons. The worst was
> that the compiler (bcb3) could not know about
> INVALID_FILE_ATTRIBUTES.

INVALID_FILE_ATTRIBUTES was not added to BCB under BCB6.

Just test for 0xFFFFFFFF directly, since that is the actual value
GetFileAttributes() returns on error.


Gambit
Technical Details
Message-ID: <408e1c08$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <408d6cad$1@newsgroups.borland.com> <408d73fa$1@newsgroups.borland.com> <408e0d39$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8374fb71f8a662f4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-27 01:39:35 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <408d6cad$1@newsgroups.borland.com> <408d73fa$1@newsgroups.borland.com> <408e0d39$2@newsgroups.borland.com>
Subject: Re: FileExists() is using wildcards
Date: Tue, 27 Apr 2004 01:27:41 -0700
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <408e1c08$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1083055112 67.22.138.253 (27 Apr 2004 01:38:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail