Share via

The IUIAutomation ElementFromPoint() method causes some programs to crash and exit automatically.

Della 0 Reputation points
2023-08-31T08:27:00.0333333+00:00

When I try to use the ElementFromPoint() method to get elements of a program(eg.Navicat Premium 15), the program crashes and exits automatically.

I tried to verify the following:

  1. When inspect and Accessibility Insights for Windows are used to obtain crash program elements, the same crash phenomenon occurs.
  2. No crash occurs when GetFocusedElement() is used to obtain the crash program elements.
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Limitless Technology 45,241 Reputation points
    2023-09-01T08:09:16.2833333+00:00

    Hello there,

    You might need to collect the dump and share it with the Microsoft team for detailed analysis.

    Is there anything in event viewer?

    I would suggest you to use proc mon to identify if there is nothing on the event viewer.

    Process Monitor is an advanced monitoring tool for Windows that shows real-time file

    system, Registry and process/thread activity. You can get the tool from here

    https://docs.microsoft.com/enus/sysinternals/downloads/procmon

    System Monitor (Sysmon) is a Windows system service and device driver that, once installed on a system, remains resident across system reboots to monitor and log

    system activity to the Windows event log.You can get the tool from here

    https://docs.microsoft.com/enus/sysinternals/downloads/sysmon

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.