Hi there,

I'm trying to run my compiled "Audio Player" application on Windows 11 64-bit, but without success.

Getting this message:
Code:
Run-time error 339:

Component wmp.dll or one of its dependencies not correctly registered: a file missing or invalid
I tried various suggestions found on the internet, registering the wmp.dll component (as Admin):
Code:
regsvr32 vbscript.dll

regsvr32 jscript.dll

regsvr32 wmp.dll
But the last registration failed with message:
Code:
The module wmp.dll failed to load.

Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL

The specified module could not be found.
After I did a file search for wmp.dll in Windows 11 and found these paths:
Code:
C:\Windows\WinSxS\amd64_microsoft-windows-mediaplayer-core_31bf3856ad364e35_10.0.22621.1_none_6cff8ed342d7e9d4\wmp.dll

C:\Windows\WinSxS\wow64_microsoft-windows-mediaplayer-core_31bf3856ad364e35_10.0.22621.1_none_775439257738abcf\wmp.dll

C:\Windows\WinSxS\amd64_microsoft-windows-mediaplayer-core_31bf3856ad364e35_10.0.22621.1194_none_eb7896aaca908578\r\wmp.dll

C:\Windows\WinSxS\amd64_microsoft-windows-mediaplayer-core_31bf3856ad364e35_10.0.22621.1194_none_eb7896aaca908578\wmp.dll

C:\Windows\WinSxS\amd64_microsoft-windows-mediaplayer-core_31bf3856ad364e35_10.0.22621.1194_none_eb7896aaca908578\f\wmp.dll
Did anyone had a same/similar issue any solution for it? (It's working fine on Windows 7, 8, 10)

Thanks!