🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Is FindFirstChangeNotification half blind?

#16954
From: Peter Elbertse
Date: Wed, 16 Apr 2003 17:33
31 lines
2094 bytes
Thank you.

Indeed I needed to check the upperlaying folder. Unfortunately, because file changes within the
folder it can detect, just like deletion of the folder itself (if it's empty).

I still find it a strange Windows "feature".


"Nick B. Cassos" <nbc@no_spam.ath.forthnet.gr> wrote in message
news:fcdo8vgf7j2clmso8bqg0e454l0jlvvrpq@4ax.com...
> On Thu, 3 Apr 2003 12:45:53 +0200, "Peter Elbertse"
> <zoetjuh@wanadoo.nl> wrote:
>
> >...I created a thread to monitor the directory in which the files need to be. For this I
> >use the FindFirstChangeNotification API.
> >It works pretty good. It detects the removal of the Directory and it detects the removal of any
File
> >within the Directory.
> >BUT... when I delete the Directory when it contains files,  FindFirstChangeNotification doesn't
> >detect it.
> >...
>
>
> If you don't get all notifications of "Watch Dir" (after adding the
> flag mentioned above), you should monitor "My App". This is the *only*
> way to be notified for every change that happens to "Watch Dir"
> (assuming your have the proper filter).
>
> --
>
> Nick B. Cassos
Technical Details
Message-ID: <3e9d93ed$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!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e8c0fa7$1@newsgroups.borland.com> <fcdo8vgf7j2clmso8bqg0e454l0jlvvrpq@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,e4bd711f5b42d795
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-16 10:43:03 PST
From: "Peter Elbertse" <zoetjuh@wanadoo.nl>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e8c0fa7$1@newsgroups.borland.com> <fcdo8vgf7j2clmso8bqg0e454l0jlvvrpq@4ax.com>
Subject: Re: Is FindFirstChangeNotification half blind?
Date: Wed, 16 Apr 2003 19:33:33 +0200
Lines: 33
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: 212.238.183.121
Message-ID: <3e9d93ed$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050514413 212.238.183.121 (16 Apr 2003 10:33:33 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail