http://bugs.winehq.org/show_bug.cgi?id=59987 Bug ID: 59987 Summary: RoGetActivationFactory (combase.dll) is a semi-stub: loads native Windows.UI.Xaml.Hosting.dll but never calls DllGetActivationFactory Product: Wine Version: 11.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: comsvcs Assignee: wine-bugs@list.winehq.org Reporter: kcricpy@gmail.com Target Milestone: --- Distribution: --- When running an application (RedM/CitizenFX client) that calls RoGetActivationFactory for the WinRT class "Windows.UI.Xaml.Hosting.WindowsXamlManager" (CLSID 28258a12-7d82-505b-b210-712b04a58882), Wine's combase.dll fails with: err:combase:RoGetActivationFactory Failed to find library for L"Windows.UI.Xaml.Hosting.WindowsXamlManager" I placed genuine, correct-architecture (x64) copies of Windows.UI.Xaml.dll and Windows.UI.Xaml.Hosting.dll (extracted from a real Windows 10 install) into system32, and forced a "native" DLL override for both. Wine's loader then successfully loads Windows.UI.Xaml.Hosting.dll (confirmed via +relay/module trace logging, PROCESS_ATTACH completes normally), but immediately calls RoOriginateError with 0x80040111 (REGDB_E_CLASSNOTREG) and unloads the module WITHOUT ever calling DllGetActivationFactory on it. This suggests RoGetActivationFactory's failure path runs before any attempt to query the loaded native DLL's own DllGetActivationFactory export, even when that export is present and the file loads correctly. Wine version tested: 11.0 (stable-25.08 branch, CrossOver 26 build also tested with same result) Platform: Steam Deck (SteamOS), x86_64 Expected: RoGetActivationFactory should attempt to call DllGetActivationFactory on a successfully-loaded native override DLL before giving up. Actual: Function fails via hardcoded internal lookup and never touches the loaded module's exports. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.