Article View: borland.public.cppbuilder.multimedia
Article #199Re: CALLBACK_THREAD
From: Remy Lebeau (TeamB)
Date: Tue, 27 May 2008 20:39
Date: Tue, 27 May 2008 20:39
15 lines
1606 bytes
1606 bytes
"Isaac" <f4ier@hotmail.com> wrote in message news:483c134e$1@newsgroups.borland.com... > It plays (or records) OK, but it's like messages aren't being handled. You are trying to catch the messages as if they are being sent to a specific HWND, but they are actually being posted to the specified ThreadID's message queue instead (presumably the main thread, as you did not show which ThreadID you are actually passing to waveOutOpen()). As such, you will have to use the TApplication::OnMessage event in order to handle messages that are posted to the main thread message queue. Gambit
Technical Details
Message-ID:
<483c719a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<483c134e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,c44ef3876ed33b54 X-Google-Attributes: gid10d0fc,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.multimedia References: <483c134e$1@newsgroups.borland.com> Subject: Re: CALLBACK_THREAD Date: Tue, 27 May 2008 13:39:09 -0700 Lines: 17 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <483c719a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1211920794 207.178.157.90 (27 May 2008 13:39:54 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail