Jump to content

OLE/COM Object Viewer Throws Error - Windows Media Player - Windows Vista


Go to solution Solved by AndrewG,

Recommended Posts

Posted

Trying to access Windows Media Player Control in Windows Vista Buisness.
Using the OLE/COM Object viewer, I open Controls key and try to open Windows Media Player and I get this error:


CoGetClassObject failed.
The specified module could not be found
severity: SEVERITY_ERROR: FACILITY_WIN32 ($8007007E)


Anybody know why? How to fix/repair it?
 

Posted

So in trying to solve this, I Wrote a script to put Windows Media Player in a GUI. (WMPlayer.OCX)
Works in XP fails in Vista.
Looking at the Autoit helpfile I decided to add the Com Error Handling function shown.

I get this result in WIndows Vista:

We intercepted a COM Error !
Number is: 80040154
WinDescription is: Class not registered

Anybody know how to register the class?
 

  • Solution
Posted (edited)

I had to register wmp.dll

regsvr32 wmp.dll

Problem appears to be solved.

Edited by AndrewG
Posted

you can use this:

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...