>But how can initialize IWMPSyncServices in C#. I tried to do in such way
>IWMPSyncServices ss = (IWMPSyncServices)Player; but ss comes null.
Really? That should only give you null if Player is null. If the cast
fails you should get an exception.
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Artur H. Shamsutdinov - 22 Feb 2006 11:08 GMT
> >But how can initialize IWMPSyncServices in C#. I tried to do in such way
> >IWMPSyncServices ss = (IWMPSyncServices)Player; but ss comes null.
>
> Really? That should only give you null if Player is null. If the cast
> fails you should get an exception.
I'm sorry - of course cast fails with exception.
> Mattias