On Sat Jun 21 15:58:10 2025 +0000, Ignacy Kuchciński wrote:
Without this temporary fix, following error occurs:
02dc:fixme:combase:RoGetActivationFactory (L"Windows.Storage.StorageFile", {5984c710-daf2-43c8-8bb4-a4d3eacfd03f}, 00006FFFF25BB468): semi-stub 02dc:trace:combase:RoGetActivationFactory Found library L"C:\\windows\\system32\\windows.storage.applicationdata.dll" for class L"Windows.Storage.StorageFile" 02dc:err:combase:RoGetActivationFactory Class L"Windows.Storage.StorageFile" not found in L"C:\\windows\\system32\\windows.storage.applicationdata.dll", hr 0x80040111.
This should be figured out and the commit should be dropped afterwards
The class is defined here: https://gitlab.winehq.org/wine/wine/-/blob/master/include/windows.storage.id...
But is never imported into `windows.storage.dll` but is imported into `windows.storage.applicationdata.dll` (Check for `windows.storage.idl` in `Makefile.in` and `classes.idl`) - https://gitlab.winehq.org/wine/wine/-/tree/master/dlls/windows.storage?ref_t... - https://gitlab.winehq.org/wine/wine/-/tree/master/dlls/windows.storage.appli...
`Windows.Storage.StorageFile` should be in `windows.storage.applicationdata.dll` and not `windows.storage.dll` according to wine source code.
So `windows.storage: Add stubs for StorageFile class.` should be `windows.storage.applicationdata: Add stubs for StorageFile class.` instead.
I don't currently have a Windows VM setup to check in which dll the class is actually located on Windows, but if you want to check, the registry key to check with regedit is: - `HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Storage.StorageFile`