[Bug 51729] New: Unable to find an entry point named 'UiaDisconnectProvider' in DLL 'UIAutomationCore.dll'

WineHQ Bugzilla wine-bugs at winehq.org
Mon Sep 6 18:25:08 CDT 2021


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 at winehq.org
          Reporter: pashtet92 at 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-uiautomationcoreapi-uiadisconnectprovider?redirectedfrom=MSDN

Since current uia_core implementation is largely stub, I think it might benefit
from one more stub ;)

-- 
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.



More information about the wine-bugs mailing list