Jump to content




Photo
- - - - -

DOF com error

dof doflinx pinballx pinup popper COM

  • Please log in to reply
8 replies to this topic

#1 jwosi

jwosi

    Hobbyist

  • Members
  • PipPip
  • 40 posts

  • Flag: United States of America

  • Favorite Pinball: back to the future

Posted 10 September 2019 - 12:27 AM

I had to rebuild my cab. I got DOF working within VPX. However, i can't get dof to work in PinballX or Pinup Popper. I had it working prior to the rebuild.

 

"Error! DirectOutput framework not found. Make sure the DOF com object is registered."

 

 

 

19.09.08 10:04:20.625 DirectOutput PinballX Plugin, version 3.1.7011.27968, built 2019.03.13 15:32

19.09.08 10:04:20.750 Loading plugin config

19.09.08 10:04:20.765 Initializing plugin

19.09.08 10:04:20.765 Loading PBX config data

19.09.08 10:04:20.781 PBX config data loaded

19.09.08 10:04:20.781 Initializing DOF

19.09.08 10:04:20.797 Init failed: Could not create a instance of the DirectOutput framework. Retrieving the COM class factory for component with CLSID {A23BFDBC-9A8A-46C0-8672-60F23D54FFB6} failed due to the following error: 80070002 The system cannot find the file specified. (Exception from HRESULT: 0x80070002).

19.09.08 10:04:20.797 . Stack:    at PinballX.DOFManager.Load()

   at PinballX.DOFManager.Init()

   at PinballX.Plugin.Initialize(IntPtr InfoPtr)

 

 



#2 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,760 posts

  • Flag: United States of America

  • Favorite Pinball: Theatre of Magic

Posted 10 September 2019 - 05:19 PM

HRESULT 0x80070002 means "file not found" (nice friendly way to say so, I know), so the problem is probably that the registry entry for the COM object is wrong.  Maybe something went wrong with the install, or you deleted/moved files after the install?



#3 jwosi

jwosi

    Hobbyist

  • Members
  • PipPip
  • 40 posts

  • Flag: United States of America

  • Favorite Pinball: back to the future

Posted 10 September 2019 - 07:29 PM

Thanks for the reply. My original cab install was installed to my D:\ and worked great. However, that was installed with the msi and older version that was updated over time by replacing files. When i rebuilt my cab, i installed with the msi file to the d:\ and got the errors above. I then read it is best to install to root c:\. So i uninstalled using the msi file (and tried to clean up registry) and reinstalled to c:\ and still get the posted error.



#4 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,760 posts

  • Flag: United States of America

  • Favorite Pinball: Theatre of Magic

Posted 10 September 2019 - 09:20 PM

The error code means that the DOF DLL can't be loaded from the path that's in the registry, so it has to be one of the following:

 

- The registry setting is wrong

 

- The file is missing

 

- There's something wrong with the file that's preventing Windows from loading it

 

What do you see in the registry when you look at:

 

HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{A23BFDC-9A8A-46C0-8672-60F23D54FFB6}\InProcServer32 -> CodeBase

 

Or, if you're on a 32-bit Windows, it'll be:

 

HKEY_CLASSES_ROOT\CLSID\{A23BFDC-9A8A-46C0-8672-60F23D54FFB6}\InProcServer32 -> CodeBase


Whatever that's pointing to, do you see the specified file there?



#5 jwosi

jwosi

    Hobbyist

  • Members
  • PipPip
  • 40 posts

  • Flag: United States of America

  • Favorite Pinball: back to the future

Posted 10 September 2019 - 10:35 PM

The information disappears when I submit it. It is pointing to the correct location and file.
 

Dll file is not blocked


Edited by jwosi, 11 September 2019 - 01:44 AM.


#6 jwosi

jwosi

    Hobbyist

  • Members
  • PipPip
  • 40 posts

  • Flag: United States of America

  • Favorite Pinball: back to the future

Posted 10 September 2019 - 10:47 PM

The information disappears when I submit it. It is pointing to the correct location and file.

Edited by jwosi, 10 September 2019 - 11:03 PM.


#7 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,760 posts

  • Flag: United States of America

  • Favorite Pinball: Theatre of Magic

Posted 10 September 2019 - 11:31 PM

I don't know, maybe you could try PinballY and see if that can load it.



#8 jwosi

jwosi

    Hobbyist

  • Members
  • PipPip
  • 40 posts

  • Flag: United States of America

  • Favorite Pinball: back to the future

Posted 11 September 2019 - 01:45 AM

I re-enabled UAC and it started to work. Does that seem right?



#9 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,760 posts

  • Flag: United States of America

  • Favorite Pinball: Theatre of Magic

Posted 11 September 2019 - 02:45 AM

That's great!

 

I'd say it "seems right" empirically in that it's working.  And enabling UAC is the right thing to do in any case*, so I'd take it as a bonus that it fixed this problem.

 

One more thing to add to the troubleshooting list!

 

*Disabling UAC doesn't do what people think.  People think it just turns off prompts.  In fact, it changes some Windows internals in subtle ways.  One of the changes is in how registry keys are handled, so that might be what hosed you down in this case.  There's technical documentation on the Microsoft TechNet site if you want to get into the details.


Edited by mjr, 11 September 2019 - 03:58 AM.






Also tagged with one or more of these keywords: dof, doflinx, pinballx, pinup, popper, COM