Re: Multithreading Component



yeomanly@xxxxxxxxx wrote:

But can you tell me how Windows Media Player handle this. If I place
multiple Media Player Component and they playback files simultaneously..

It uses the background threading technique (i.e. run a window on a
separate thread), combined with a DirectShow filter graph, as far as I
know. If the hardware supports it, it may use alternative techniques.
You basically hand the window handle to DirectShow and it will do
whatever is necessary, once you've set up the DirectShow filter graph
properly. I think it usually uses DirectDraw these days, but I have
approximately 1% competency in that area.

Google:

http://google.com/search?q=directshow+filter+graph
http://google.com/search?q=windows+media+sdk

for all the gory details.

-- Barry

--
http://barrkel.blogspot.com/
.