🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Playbacking from thread

#1168
From: Mike
Date: Thu, 23 Aug 2001 08:31
20 lines
1394 bytes
Hi!

I have a problem with threads.

I have a thread which controls playback of a WAVE file.

And for controlling it I have to get a handle of thread. But handle
which I get with "this->handle" isn't the right handle (if I use for
example "Form1->handle" everything works). So, how can I
get an "right" handle?

Can I make a message map for thread (I have to process some
messages which are sent (playbacking events)) - and they are
sent to the handle, which I sent previously. But that handle isn't
correct, so what's wrong?

Please help


Mike
Technical Details
Message-ID: <3B84BF57.200A3CFE@somewhere.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,3d92e384aaa25825,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2001-08-23 01:33:31 PST
Message-ID: <3B84BF57.200A3CFE@somewhere.com>
Date: Thu, 23 Aug 2001 10:31:19 +0200
From: Mike <someone@somewhere.com>
Organization: Anonymous
X-Mailer: Mozilla 4.78 [en] (Win98; U)
X-Accept-Language: en,sl
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Playbacking from thread
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 194.249.6.137
X-Trace: dnews 998555471 194.249.6.137 (23 Aug 2001 01:31:11 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews