Article View: borland.public.cppbuilder.nativeapi
Article #3249Re: WaitForMulipleObjects function
From: mauro russo
Date: Mon, 07 Aug 2006 18:47
Date: Mon, 07 Aug 2006 18:47
22 lines
1706 bytes
1706 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> ha scritto nel messaggio
news:44d7801a$1@newsgroups.borland.com...
>
> "Bob Gonder" <notbg@notmindspring.invalid> wrote in message
> news:nvped25gk8hs0bdhpkb8a4mmnlau7akc8c@4ax.com...
>
> > And....what does 6 mean? (See FormatMessage() )
>
> 6 = ERROR_INVALID_HANDLE
In fact. By more deep debugging i could realize it.
The cause was (i think) in the calling of Synchronize method to call
ShowMessage,
that corrupt the stack where is located the HANDLE array.
After i removed it, i could see all working.
>
> Gambit
Thanks.
Technical Details
Message-ID:
<44d78aef@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.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-mailReferences:
<44d62a4a$1@newsgroups.borland.com> <prpcd2hj1di4dpm4uqun57ncaj7g69fkl9@4ax.com> <44d707a0@newsgroups.borland.com> <nvped25gk8hs0bdhpkb8a4mmnlau7akc8c@4ax.com> <44d7801a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8747f5d210339525 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "mauro russo" <m.russo@uniplan.it> From: "mauro russo" <m.russo@uniplan.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <44d62a4a$1@newsgroups.borland.com> <prpcd2hj1di4dpm4uqun57ncaj7g69fkl9@4ax.com> <44d707a0@newsgroups.borland.com> <nvped25gk8hs0bdhpkb8a4mmnlau7akc8c@4ax.com> <44d7801a$1@newsgroups.borland.com> Subject: Re: WaitForMulipleObjects function Date: Mon, 7 Aug 2006 20:47:44 +0200 Lines: 24 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: 217.20.0.176 Message-ID: <44d78aef@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1154976495 217.20.0.176 (7 Aug 2006 11:48:15 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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