Article View: borland.public.cppbuilder.nativeapi
Article #10044Re: Using Damon Chandler's FindNextChangeNotification example
From: Remy Lebeau (TeamB)
Date: Mon, 24 May 2004 04:46
Date: Mon, 24 May 2004 04:46
18 lines
1631 bytes
1631 bytes
"JD" <nospam@nospam.com> wrote in message
news:40b14fc5$1@newsgroups.borland.com...
> Way Cooler - but the reason for the other not working
> escapes me.
Well, for one thing, you are not calling WaitForSingleObject() correctly.
Here is your earlier posted code:
dwStatus = WaitForSingleObject( &FChangeHandle, 2000 );
It should be this instead:
dwStatus = WaitForSingleObject( FChangeHandle, 2000 );
Gambit
Technical Details
Message-ID:
<40b17f34$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40ade94f$1@newsgroups.borland.com> <40af63b7$1@newsgroups.borland.com> <40af8def$1@newsgroups.borland.com> <40afda3f$1@newsgroups.borland.com> <40b0233e$1@newsgroups.borland.com> <40b030d4$1@newsgroups.borland.com> <40b0d61d$1@newsgroups.borland.com> <40b10d80$1@newsgroups.borland.com> <40b14fc5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,32a59cffbb6bea4a X-Google-Attributes: gid10cc67,public From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40ade94f$1@newsgroups.borland.com> <40af63b7$1@newsgroups.borland.com> <40af8def$1@newsgroups.borland.com> <40afda3f$1@newsgroups.borland.com> <40b0233e$1@newsgroups.borland.com> <40b030d4$1@newsgroups.borland.com> <40b0d61d$1@newsgroups.borland.com> <40b10d80$1@newsgroups.borland.com> <40b14fc5$1@newsgroups.borland.com> Subject: Re: Using Damon Chandler's FindNextChangeNotification example Date: Sun, 23 May 2004 21:46:11 -0700 Lines: 20 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.135.163 Message-ID: <40b17f34$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1085374260 67.22.135.163 (23 May 2004 21:51:00 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail