I just started attempting to access the library from a Media Center plugin. Is WMP.dll really the only way to do it? I was hoping it would be exposed through the Media Center SDK. My issue here is that the COM reference is forcing me to have two copies of the same project -- one with an interop to the 32-bit WMPLib, the other with an interop to the 64-bit WMPLib -- of course this also means I'll need two installers, etc. Is there an easier way to do this?
WMPLib is the only way to access the library, as this is the way that Media Center does it - it has no media library of it's own. Two installers isn't a big deal if you use WiX to build your installer - you can create a single WiX source that will build either an x86 or x64 installer depending on which target you set in Visual Studio.
Cheers,Andrew
Now that I have this up and running, it's not nearly as bad as I was imagining. Thanks for your help!