https://bugs.winehq.org/show_bug.cgi?id=51729
Bug ID: 51729 Summary: Unable to find an entry point named 'UiaDisconnectProvider' in DLL 'UIAutomationCore.dll' Product: Wine Version: 6.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: uiautomationcore Assignee: wine-bugs@winehq.org Reporter: pashtet92@bk.ru Distribution: ---
Created attachment 70615 --> https://bugs.winehq.org/attachment.cgi?id=70615 wine logs
Hello. I tried to use a .NET 5 application written using WinForms: https://github.com/Greavesy1899/MafiaToolkit
After I close the intro window, this exception happens:
System.EntryPointNotFoundException: Unable to find an entry point named 'UiaDisconnectProvider' in DLL 'UIAutomationCore.dll'. at Interop.UiaCore.UiaDisconnectProvider(IRawElementProviderSimple provider) at System.Windows.Forms.Control.ReleaseUiaProvider(IntPtr handle) at System.Windows.Forms.Control.WmDestroy(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
Apparently, it tries to unregister a UI Automation provider on window destruction.
MSDN docs: https://docs.microsoft.com/ru-ru/windows/win32/api/uiautomationcoreapi/nf-ui...
Since current uia_core implementation is largely stub, I think it might benefit from one more stub ;)