A
Anonymous
Guest
I have decided to have a go at creating functionality in the main app to change channels on an external tuner using WinLIRC.
I have added another module similar to usbuirt. A method in this module called from MediaPortal.cs sends messages to the WinLIRC server to change channels.
I think that I have completed the effort, but I get the following errors when compiling:
C:\mediaportal\xbmc\MediaPortal.cs(1284): 'MediaPortalApp.winlircsender' denotes a 'field' where a 'class' was expected
C:\mediaportal\xbmc\MediaPortal.cs(1284): Static member 'MediaPortal.WinLIRCSendNS.WinLIRCSend.ChangeChannel(string, string, string, string, long, bool, bool, bool, string, long)' cannot be accessed with an instance reference; qualify it with a type name instead
I'm not a .net expert and would appreciate any help with this namespace/scope issue.
Thanks
Leon Plante
[/img]
I have added another module similar to usbuirt. A method in this module called from MediaPortal.cs sends messages to the WinLIRC server to change channels.
I think that I have completed the effort, but I get the following errors when compiling:
C:\mediaportal\xbmc\MediaPortal.cs(1284): 'MediaPortalApp.winlircsender' denotes a 'field' where a 'class' was expected
C:\mediaportal\xbmc\MediaPortal.cs(1284): Static member 'MediaPortal.WinLIRCSendNS.WinLIRCSend.ChangeChannel(string, string, string, string, long, bool, bool, bool, string, long)' cannot be accessed with an instance reference; qualify it with a type name instead
I'm not a .net expert and would appreciate any help with this namespace/scope issue.
Thanks
Leon Plante