🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get timestamp of a directory

#17592
From: Remy Lebeau (TeamB)
Date: Mon, 24 Mar 2003 00:59
15 lines
1627 bytes
"David Cameron" <dave@NO_SPAM.please.ecclehill.freeserve.co.uk> wrote in
message news:3e7e4f67$1@newsgroups.borland.com...

> Yes "My Documents" is a valid directory on my system (98 SE)
> but when used as the lpFileName parameter to FindFirstFile, the
> function fails (returns INVALID_HANDLE_VALUE).
> "My Documents" fails.

As well it should, as "My Documents" on its own is not a valid folder name.
FindFirstFile() requires a actual physical path.  Refer to my other reply
for more details.


Gambit
Technical Details
Message-ID: <3e7e5630$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <Xns9347BC315BB75dzeidzei@207.105.83.65> <3e7de3b8@newsgroups.borland.com> <3e7e0c97@newsgroups.borland.com> <3e7e4381@newsgroups.borland.com> <3e7e4f67$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ddd5fd2f8652aa3a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-23 23:02:17 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <Xns9347BC315BB75dzeidzei@207.105.83.65> <3e7de3b8@newsgroups.borland.com> <3e7e0c97@newsgroups.borland.com> <3e7e4381@newsgroups.borland.com> <3e7e4f67$1@newsgroups.borland.com>
Subject: Re: How to get timestamp of a directory
Date: Sun, 23 Mar 2003 16:59:37 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3e7e5630$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048466992 207.175.226.26 (23 Mar 2003 16:49:52 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail