INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: dheiskell on August 10, 2014, 03:48:25 pm

Title: MC 19.0.146 Automation Interface appears to be missing
Post by: dheiskell on August 10, 2014, 03:48:25 pm
I recently upgraded from MC 17 to MC 19. I have an app that called the Automation interface on MC17, it can't find the interface on 19. I get an invalid class string from the following code which is still the method documented.

      HRESULT hr = m_pMJ.GetActiveObject (L"MediaJukebox Application");
      if (hr != S_OK)
      {
         hr = m_pMJ.CreateInstance(L"MediaJukebox Application");
         if( hr == S_OK )
         {
I tried building with Media Center 19.tlb versus the one from 17 and that had no effect. Both GetActiveObject and CreateInstance fail where MC19 is already running or not. I am wondering if MC 19's COM interface wasn't registered when it was installed? MC 17 was on the machine and then it was uninstalled after installing 19. Could this lead to the automation interface disappearing?
Title: Re: MC 19.0.146 Automation Interface appears to be missing
Post by: JimH on August 10, 2014, 04:02:15 pm
Did you try the DevZone?
http://wiki.jriver.com/index.php/DevZone
Title: Re: MC 19.0.146 Automation Interface appears to be missing
Post by: dheiskell on August 11, 2014, 06:10:41 am
Yes Jim I did that's where the original code came from.
Title: Re: MC 19.0.146 Automation Interface appears to be missing
Post by: Mysticeti on August 09, 2020, 04:28:13 pm
Was the "Automation Interface" dropped in newer versions or is there an option on install we need to check?
Title: Re: MC 19.0.146 Automation Interface appears to be missing
Post by: JimH on August 09, 2020, 05:08:43 pm
Not as far as I know.
Title: Re: MC 19.0.146 Automation Interface appears to be missing
Post by: Mysticeti on August 09, 2020, 05:51:24 pm
Thanks.  It's been forever since I've upgraded and I think I installed the 64 bit version.  Uninstalling and then re-installing the 32 bit version seemed to fix my issue (cav66.exe couldn't find the automation interface).
Title: Re: MC 19.0.146 Automation Interface appears to be missing
Post by: JimH on August 09, 2020, 06:23:00 pm
That brings back memories.
Title: Re: MC 19.0.146 Automation Interface appears to be missing
Post by: Mysticeti on August 14, 2020, 08:16:20 pm
My CAM6.6 is still tickin' thank goodness.  ;D 

It's way out of warranty at this point.

No idea what I'll do when it finally gives up the ghost.
Title: Re: MC 19.0.146 Automation Interface appears to be missing
Post by: Mysticeti on May 14, 2023, 01:42:56 pm
Thought about creating a new topic for this but having context from the thread seems useful...

I hit this error again after installing MC31 ("this error" being the Automation Interface not being found).  This time I did use the 32-bit version of the Windows app so that was most likely a red herring. 

I think what happens is that my process is to

I'm guessing that uninstalling the old version is what's messing me up as reinstalling the new version seems to fix the problem.

Hopefully by jotting these notes down I'll remember not to panic next time  :D

Still pondering what I'll do when my CAM6.6 joins the choir invisible