🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help needed with the use of an API...

#11672
From: Detlef
Date: Thu, 29 Jan 2004 08:22
40 lines
2308 bytes
Hi Daryl,
I understand the advantage of the ReadDirectoryChangesW function.
A work around would be to use the FindFirst / FindNext functions in the
directory if the content is not to large and you have some time to react on
the creation of the files. But this is a work around, not a real solution.
Detlef

>"Daryl" <stockd@tpg.com.au> schrieb im Newsbeitrag
news:40181e38@newsgroups.borland.com...
> Hi
> I am using the Windows API ReadDirectoryChangesW, it appears to not
reliably
> monitor a network drive.  I have mapped the network drive to a local
> directory on the client but it appears that it is not getting all the
files
> (it misses some, gets most) that are added to the network drive.
>
> The file types are all the same, small text files approximately 3 to 5kB
in
> size and at the most there may be 20 files entered an hour to process.
They
> do not all come at once there maybe the odd occasion that 2 to 3 file
arrive
> at the same time, but it appears that I have the same odds as to
processing
> this files.
>
> Can anyone please shed some light on this problem?  It would be good to
know
> if it is possible to do this or not.
>
> If this is not right place to ask this question please let me know a
better
> forum and I will try there.
>
> Thanks
> Daryl
>
>
>
Technical Details
Message-ID: <4018c289@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: <40181e38@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9b3a2f3f56fe627b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-29 00:39:36 PST
Reply-To: "Detlef" <detlef.stute@seatec-gmbh.com>
From: "Detlef" <detlef.stute@seatec-gmbh.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40181e38@newsgroups.borland.com>
Subject: Re: Help needed with the use of an API...
Date: Thu, 29 Jan 2004 09:22:03 +0100
Lines: 42
Organization: SEATEC GmbH
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: 80.134.78.149
Message-ID: <4018c289@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075364489 80.134.78.149 (29 Jan 2004 00:21:29 -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