🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ReadDirectoryChangesW

#3591
From: Bob Gonder
Date: Fri, 19 May 2006 02:22
10 lines
1586 bytes
Rod wrote:

>If someone could get me started on the "asynchronously" use of
>"ReadDirectoryChangesW" I'd merrily on my way, I believe.

The basics are, you create an event with CreateEvent().
You plug that event handle into an OVERLAPPED structure.
You call the function, passing the OVERLAPPED structure.
You wait for the event handle to fire with one of the WaitFor
functions, or GetOverlappedResult, depending on your needs.
Technical Details
Message-ID: <efaq62dmp0enbkqk0u140ekr2fp96o609n@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <btnj629qq4hcqg2rm80fr6mdo9d1uv7ida@4ax.com> <4469ea36@newsgroups.borland.com> <gubm62dc961n3brhgmkmm6ptpc3o4oob5f@4ax.com> <446c532a$1@newsgroups.borland.com> <ocqo62hq0jkqk9qeojjpfalgbjccgeh9q6@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f9b15488efc2a992
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: ReadDirectoryChangesW
Date: Thu, 18 May 2006 19:22:10 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <efaq62dmp0enbkqk0u140ekr2fp96o609n@4ax.com>
References: <btnj629qq4hcqg2rm80fr6mdo9d1uv7ida@4ax.com> <4469ea36@newsgroups.borland.com> <gubm62dc961n3brhgmkmm6ptpc3o4oob5f@4ax.com> <446c532a$1@newsgroups.borland.com> <ocqo62hq0jkqk9qeojjpfalgbjccgeh9q6@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 4.246.207.67
X-Trace: newsgroups.borland.com 1148005325 4.246.207.67 (18 May 2006 19:22:05 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail