Well, it turns out I should have known better. In earlier days, trying to use a debugger such as WinIce would cause DVD software decoders to barf to 'protect' their data. It seems that a similar thing is happening here. When I run my application from within Visual Studio, it fails. When I run it by itself, it works just fine.
I also found the documentation [ at ]
http://msdn2.microsoft.com/en-us/library/bb262381.aspx Follow the cookies under Windows Media Player Object Model Reference
Still would like example code or a tutorial.
Thanks,
Lee
"DigiLee" wrote:
[Quoted Text] > How's that for a multiple acronym title? > > I am trying to write a simple app to play a DVD using a WMP OCX (WMP11) > control. I have generated .tlh and .tli files using #import, which results > in a dizzying array of API templates, interfaces, or what have you. > > I have searched for a long time and failed to find any documentation of > these API. > > If I use PutURL() with a .VOB file, I get a "cannot play protected content > in this environment" message from the CinePlayer codec. The WMP SDK DVD > Player sample code has the same problem. I suspect that I have to access the > DVD through some of the other APIs, (Playlist ??) but I have no clue. > > If anyone can point me to the appropriate documentation, or a bit of sample > code that will play a DVD once the OCX is instantiated, I will be forever > grateful. > > Thanks > > Lee >
|