earl:
Are you sure that it's possible to read a DVR-MS file while writing it ?
I included some part of the ToDVRMS software in a MCML application (I use the SBEHelper class), but I can only read it when the file is finished (and never when it's a stream! )
Can you please give more details on using Global namespaces with SBE sink ?
What do I need to change to my code ?
Yes I'm sure, how else could MC let you watch recorded tv while it's recording?
Did you look at the platform sdk section on the SBE, it's documented there. I've only been able to get it working when running everything elevated (which would mean turning UAC off in most scenarios), and todvrms will be updated at some point with the necessary changes.
I hope you read the EULA for todvrms before incorporating code from it into your application, it's a reciprocal viral license which forces you to publish your source should you choose to distribute the application.