#### From the commit message: ``` Right now WinRT DLLs are treated as if their name's part after last dot is their extension. This means the string spec->file_name in main() will only carry the module's name, without any file extension. Later on this string will be used as the DLL's export name and written to the name field of IMAGE_DIRECTORY_ENTRY_EXPORT. Meaning the stored name is going to be "windows.foo.bar" instead of "windows.foo.bar.dll", for example. Looking innoncent at first this will cause Wine's DLL loader to get confused, as this string will be used later on to try load builtin DLLs. Loading WinRT DLLs only works by chance right now, because the loader will fall back to treat them as native DLLs. ``` Not sure if this is a good solution though. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10290