INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC 19.0.146 Automation Interface appears to be missing  (Read 4424 times)

dheiskell

  • Recent member
  • *
  • Posts: 6
MC 19.0.146 Automation Interface appears to be missing
« 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?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72477
  • Where did I put my teeth?
Re: MC 19.0.146 Automation Interface appears to be missing
« Reply #1 on: August 10, 2014, 04:02:15 pm »

Logged

dheiskell

  • Recent member
  • *
  • Posts: 6
Re: MC 19.0.146 Automation Interface appears to be missing
« Reply #2 on: August 11, 2014, 06:10:41 am »

Yes Jim I did that's where the original code came from.
Logged

Mysticeti

  • Regular Member
  • World Citizen
  • ***
  • Posts: 224
  • music, SCUBA, movies, VR, multimedia, PCs
Re: MC 19.0.146 Automation Interface appears to be missing
« Reply #3 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?
Logged
"And the men who hold high places. Must be the ones who start... to mold a new reality. Closer to the Heart."

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72477
  • Where did I put my teeth?
Re: MC 19.0.146 Automation Interface appears to be missing
« Reply #4 on: August 09, 2020, 05:08:43 pm »

Not as far as I know.
Logged

Mysticeti

  • Regular Member
  • World Citizen
  • ***
  • Posts: 224
  • music, SCUBA, movies, VR, multimedia, PCs
Re: MC 19.0.146 Automation Interface appears to be missing
« Reply #5 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).
Logged
"And the men who hold high places. Must be the ones who start... to mold a new reality. Closer to the Heart."

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72477
  • Where did I put my teeth?
Re: MC 19.0.146 Automation Interface appears to be missing
« Reply #6 on: August 09, 2020, 06:23:00 pm »

That brings back memories.
Logged

Mysticeti

  • Regular Member
  • World Citizen
  • ***
  • Posts: 224
  • music, SCUBA, movies, VR, multimedia, PCs
Re: MC 19.0.146 Automation Interface appears to be missing
« Reply #7 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.
Logged
"And the men who hold high places. Must be the ones who start... to mold a new reality. Closer to the Heart."

Mysticeti

  • Regular Member
  • World Citizen
  • ***
  • Posts: 224
  • music, SCUBA, movies, VR, multimedia, PCs
Re: MC 19.0.146 Automation Interface appears to be missing
« Reply #8 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
  • do a Library Backup of the current version
  • install the latest version
  • restore the old library into the new version
  • verify that things basically look/work right with the new version
  • uninstall the old version
  • panic when I notice that CAV66.exe now can't find the Automation interface

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
Logged
"And the men who hold high places. Must be the ones who start... to mold a new reality. Closer to the Heart."
Pages: [1]   Go Up