Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Multithreading wmvcopy sample...

HTVi
TV Discussion Newsgroups

Multithreading wmvcopy sample...
dl0haus 10/27/2008 5:24:00 PM
I have done this by taking out the CWMVCopy class from this sample and then
building a .DLL interface to control the downloading capabilities of this
class. Is there anything I need to be aware of in this class that would make
it non thread safe?

I can currently download tons of streams at the same time but sometimes it
get a "glitch"... the bytes will continue, but EOF will never happen meaning
the interface doesn't tell the user that EOF has occurred. This leads to
archives of streams that are not the full size because writing stopped but
the download continued. This to me says there is an issue with the writer
itself.

I guess I'm looking for general info on any mutex thread locking or anything
that I should be doing if I wanted to convert the CWMVCopy.cpp class into a
multithreaded unit that is totally safe.

Again, this class is in the wmvcopy sample that came with the WMFSDK.

Thanks,
D

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen