Article View: borland.public.cppbuilder.nativeapi
Article #12423Re: TEvent::Handle does not work
From: Remy Lebeau (TeamB)
Date: Wed, 03 Dec 2003 19:43
Date: Wed, 03 Dec 2003 19:43
19 lines
1606 bytes
1606 bytes
"dESFasado" <nospame@anymore> wrote in message news:oprzma2ax33sxi43@localhost... > but in Builder 6 the Handle property won't work at all. But If I use ::WaitFor yep. Please be more specific. Just saying "it doesn't work" says nothing at all about the actual problem you are having. The TEvent::Handle property is public, and TEvent::WaitFor() uses the Handle property, so it has to work fine if you use the Handle directly, otherwise TEvent::WaitFor() would fail as well. Why don't you like using TEvent::WaitFor() anyway? All it does is called WaitForSingleObject() internally, so you don't gain anything by calling WaitForSingleObject() directly, other than to avoid an extra function call. Gambit
Technical Details
Message-ID:
<3fce3c92$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<oprzma2ax33sxi43@localhost>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f878aec6aeb4090 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-03 12:09:48 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <oprzma2ax33sxi43@localhost> Subject: Re: TEvent::Handle does not work Date: Wed, 3 Dec 2003 11:43:03 -0800 Lines: 21 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.23.78.224 Message-ID: <3fce3c92$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1070480530 67.23.78.224 (3 Dec 2003 11:42:10 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail