🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #203

Re: CALLBACK_THREAD

#203
From: Isaac
Date: Wed, 04 Jun 2008 07:41
8 lines
1226 bytes
Thanks for your suggestion in using TApplication::OnMessage()!  I managed to write a working set of playback/sampling code.  And yes -- I did need to pass the main thread ID to waveOutOpen() to process messages.

Also, thanks for the heads-up and sample code (!!) about TThread and messages.  I'll be playing around with CALLBACK_EVENT next.

Cheers!

Isaac
Technical Details
Message-ID: <48464740$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <483c134e$1@newsgroups.borland.com> <483c719a$1@newsgroups.borland.com> <483cd729$1@newsgroups.borland.com> <483dbc02$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: "Isaac" <nospam@nospam.com>
Sender: "Isaac" <nospam@nospam.com>
Reply-To: "Isaac" <nospam@nospam.com>
Subject: Re: CALLBACK_THREAD
Newsgroups: borland.public.cppbuilder.multimedia
X-User-Info: 121.44.27.103     
References: <483c134e$1@newsgroups.borland.com> <483c719a$1@newsgroups.borland.com> <483cd729$1@newsgroups.borland.com> <483dbc02$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <48464740$1@newsgroups.borland.com>
Date: 4 Jun 2008 00:41:52 -0700
X-Trace: newsgroups.borland.com 1212565312 207.105.83.66 (4 Jun 2008 00:41:52 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail