Article View: borland.public.cppbuilder.multimedia
Article #1172Re: Playbacking from thread
From: bcb
Date: Fri, 24 Aug 2001 02:22
Date: Fri, 24 Aug 2001 02:22
38 lines
2086 bytes
2086 bytes
Mike, I will post the code tommorow, not at my working computer right now. Michael Crapo <mcrapo@tng-ida.com> wrote in message news:3b852215.700166@newsgroups.borland.com... > Mike > Are you trying to post a windows message to your thread??? If > that is what you are doing then you need to use PostThreadMessage > instead of PostMessage. The PostThreadMessage takes a ThreadID > instead of a handle. If this is not what you are tying to do, then I > need more information.. > > Mike > > On Thu, 23 Aug 2001 10:31:19 +0200, Mike <someone@somewhere.com> > wrote: > > >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:
<3b85ba55_1@dnews>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!dnewsReferences:
<3B84BF57.200A3CFE@somewhere.com> <3b852215.700166@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,3d92e384aaa25825 X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2001-08-23 19:35:36 PST From: "bcb" <leonnbm@hotmail.com> Newsgroups: borland.public.cppbuilder.multimedia References: <3B84BF57.200A3CFE@somewhere.com> <3b852215.700166@newsgroups.borland.com> Subject: Re: Playbacking from thread Date: Thu, 23 Aug 2001 22:22:07 -0400 Lines: 40 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 172.148.222.20 Message-ID: <3b85ba55_1@dnews> X-Trace: dnews 998619733 172.148.222.20 (23 Aug 2001 19:22:13 -0700) 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