|
|
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
|
|
|