andresdelcampo / GameList_Editor

This repository intends to contribute to GameList Editor development and bring it back to life with the latest systems, etc.
GNU General Public License v3.0
35 stars 0 forks source link

Application Error - Class not registered #8

Closed macariocarneiro closed 1 year ago

macariocarneiro commented 1 year ago

App version: GameList Editor 2022.04

System: Windows 10 Pro 21H2 build 19044.1889

Error: Application Error - Exception EOleSysError in module GameListEditor.exe at 00155159. Class not registered

How to reproduce the error:

andresdelcampo commented 1 year ago

Thanks for reporting the issue -and for the details. I am quite surprised about it. I will investigate during the next 3-5 days and let you know if I can find out what may be missing. My first suspicion is lack of video related support in Windows. If you cannot open game videos directly from file explorer either, that might be the issue. Installing a codec like K-Lite might do it ( https://codecguide.com/download_kl.htm ) as GameList Editor relies on Windows for video playing. Let me know if that was the issue. I will have a look the next few days otherwise.

macariocarneiro commented 1 year ago

I googled the error and found nothing for this app. I have not tested all your releases on that PC, but the last NeeeeB version is working fine. On that PC I only installed VideoLan, that uses embed codecs, no so extra codecs on that OS

macariocarneiro commented 1 year ago

Tested in another PC and is working fine

Edição Windows 11 Home Single Language Versão 21H2 Instalado em ‎20/‎04/‎2022 Compilação do SO 22000.978 Experiência Pacote de Experiência de Recursos do Windows 1000.22000.978.0

andresdelcampo commented 1 year ago

I am researching a bit, it could be that one of the ActiveX components got unregistered. Curiously enough, many online blame that error on Windows directly rather than on any app and even give steps to fix Windows ( https://www.google.com/search?q=%22eolesyserror+class+not+registered%22+delphi+windows+10 ). I started developing GameList Editor in Win 10 Pro last year, so the Windows version should not be a problem.

Either way, did you get a Class ID with the error message (a long GUID -many letters and numbers just like for example {34792e53-d0f5-4277-83b6-55daf8500018}. That would narrow down the class component that is not found. If not in the error dialog box, ,maybe inside Event Viewer in the Windows Logs \ Application folder?

andresdelcampo commented 1 year ago

Hmm... I do not see any problem in a clean installation of Windows. It even plays videos out of the box. I suspect VideoLan or something else altered / unregistered some out of the box classes. So I start to think that the people online were right and this was not an app issue but an OS configuration issue after all. Still, if you find a class ID, it might point to what component is wrong with your set up, but I do not see an application issue here at the moment. image

andresdelcampo commented 1 year ago

It also occurred to me that the issue might be caused by having the "N" version of Windows (Windows 10 Pro N), which removes the Windows Media components. That would definitely fail. In that case, you would want to install the Media Feature Pack from https://support.microsoft.com/en-us/topic/media-feature-pack-list-for-windows-n-editions-c1c6fffa-d052-8338-7a79-a4bb980a700a

andresdelcampo commented 7 months ago

Refer to https://github.com/andresdelcampo/GameList_Editor/issues/18#issuecomment-1902772711 for a confirmed solution -in case this wasn't solved back then.