IWMSPlaylistParser Interface Cannot be Implemented in C#
- From: yaodongxian@xxxxxxxxx
- Date: 11 Oct 2005 12:39:13 -0700
Someone posted similar questions few months ago regarding the
IWMSPlaylistParser interface can not be implementated if you using C#,
could anyone give some advices?
Here is the error message
Error 2 'COLPlaylistParse.COLPlaylistParserPlugin' does not implement
interface member
'Microsoft.WindowsMediaServices.Interop.IWMSPlaylistParser.ReadPlaylist(Microsoft.WindowsMediaServices.Interop.INSSBuffer,
interop_msxml.IXMLDOMDocument,
Microsoft.WindowsMediaServices.Interop.IWMSPlaylistParserCallback,
ulong)'
But actually the implementation is there.
All other interfaces like IWMSBasicPlugin, IWMSPlaylistParserPlugin,
IWMSPlaylistParserPluginCallback and IWMSPlaylistParserCallback are OK.
And there is sample in C++ can implement this interface.
It is weird. And the only difference I can tell is here:
For IWMSBasicPlugin interface (and all other implementable interface in
C#)
namespace Microsoft.WindowsMediaServices.Interop
{
[InterfaceType(1)]
[Guid("66E6CE48-F8BB-4BCC-8FD6-42A9D5D32871")]
.....
For IWMSPlaylistParser interface
namespace Microsoft.WindowsMediaServices.Interop
{
[Guid("0EE1F2EC-48EF-11D2-9EFF-006097D2D7CF")]
[InterfaceType(1)]
.....
Thanks!
Dongxian Yao
.
- Follow-Ups:
- Prev by Date: Windows Media Services Logging Plugin help
- Next by Date: Re: Question about writing an ASF file
- Previous by thread: Windows Media Services Logging Plugin help
- Next by thread: Anyone from Microsoft in this group? Re: IWMSPlaylistParser Interface Cannot be Implemented in C#
- Index(es):
Relevant Pages
|