INTERACT FORUM

Windows => Plug-in Development => Topic started by: kensn on September 07, 2011, 07:51:03 pm

Title: initialization delay of plugin
Post by: kensn on September 07, 2011, 07:51:03 pm
Quote
After the plugin has been created Media Center will call the following method, giving us a reference to the Media Center interface.


After fighting a small problem with the pulgin I am working on, I put a simple timer(that is enabled by default) in my plugin and a sytem sound event on its first tick. If I start MC16 and just let it sit, it seems to take about 10 seconds for MC to call the plugin (I hear the system sound). If I start mc and go to "services & plugins" the system sound fires as soon as I select the plugin.

Dose it take MC16 10 seconds from when it is started to "Create The Plugin" and call it, or am I doing something wrong?

Ken
Title: Re: initialization delay of plugin
Post by: Matt on September 16, 2011, 10:58:27 pm
This is by design.

Media Center slowly starts background things like plugins, podcasting, handhelds, etc. after loading.
Title: Re: initialization delay of plugin
Post by: kensn on September 16, 2011, 11:20:13 pm
Thanks Matt.... it was driving me a bit batty troubleshooting until I put a system sound in to tell me the plugin was loaded.

Thanks again for all the support..

Ken