INTERACT FORUM

Windows => Plug-in Development => Topic started by: kensn on August 10, 2011, 07:32:56 pm

Title: Struggling with Plugin Templates
Post by: kensn on August 10, 2011, 07:32:56 pm
I have been trying to get either of the Plugin templates to work for me...  http://wiki.jriver.com/index.php/MC_Plugin_Template_for_Visual_Studio (http://wiki.jriver.com/index.php/MC_Plugin_Template_for_Visual_Studio) and http://yabb.jriver.com/interact/index.php?topic=34294.0 (http://yabb.jriver.com/interact/index.php?topic=34294.0)

I see that they reference HKLM ../Media Jukebox... in the Inno script. Is this still to be used? I changed the paths to HKCU .. Media center 16... and still have not gotten the plugin to install. All the other directions were followed being modified for MC16 as I could best guess.

Can anyone please point me in the correct direction. I do have limited c++ and VB experience, but am unclear what MC16 needs to reconize a Plugin...

Ken
Title: Re: Struggling with Plugin Templates
Post by: Matt on August 10, 2011, 07:42:42 pm
An interface plugin is just a COM control.  And you tell Media Center about the COM control in the registry.

It's probably best to use HKLM > Media Center 16 for install.  This requires UAC elevation.

You could look at the included TiVo Server for an example:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JRiver\Media Center 16\Plugins\Interface\TiVo Server
Title: Re: Struggling with Plugin Templates
Post by: kensn on August 10, 2011, 07:44:09 pm
Thanks Matt... I look down that road...

Ken