Anyone from Microsoft in this group? Re: IWMSPlaylistParser Interface Cannot be Implemented in C#

Tech-Archive recommends: Speed Up your PC by fixing your registry




yaodongxian@xxxxxxxxx wrote:
> 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

.



Relevant Pages

  • IWMSPlaylistParser Interface Cannot be Implemented in C#
    ... IWMSPlaylistParser interface can not be implementated if you using C#, ... could anyone give some advices? ... For IWMSBasicPlugin interface (and all other implementable interface in ...
    (microsoft.public.windowsmedia.sdk)
  • Re: How to fix awkward ATL namespace clash?
    ... Renaming my own namespace doesn't work because I'm not getting a namespace ... I'm getting an Interface collision. ... By the time the compiler parses my typelib the OLEDB IAccessor ...
    (microsoft.public.vc.atl)
  • Re: empty classes as c structs?
    ... So, on balance, if copy semantics are important to bunch uses, and references ... for namespace I ... making the interface as convenient as possible, ...
    (comp.lang.python)
  • [RFC] dev_acpi: support for userspace access to acpi
    ... provides userspace access to ACPI namespace using a simple character ... For further discussion of the interface, ... I've been tossing around sysfs and device file interfaces to the ACPI ... information in namespace to not provide a userspace interface to it. ...
    (Linux-Kernel)
  • Re: COM
    ... Durch die Tlbs werden zwei Klassen in unterschiedlichen Namespaces erzeugt ... Namespace Ventura für die Version 10. ... Interface implementieren. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)