I wrote some code that imitating AccessibilityInsights. To get element info of a Application. But however, I always got "Type 'System.Drawing.Point' cannot be marshalled to a Variant. Type library is not registered". when I using CaptureAction.
Since I've checked the functions be called, but got no idea to solve it. I hope you can answer.
To Reproduce
Steps to reproduce the behavior:
Run code in ZIP.
Expected behavior
Actual behavior
Screenshots or .GIF
Desktop (please complete the following information):
This package is out of scope from our support. Interfaces and classes not described in AutomationReference.md are not supported and may change at any time.
WpfApp1.zip Please check whether the bug has already been filed.
Describe the bug
I wrote some code that imitating AccessibilityInsights. To get element info of a Application. But however, I always got "Type 'System.Drawing.Point' cannot be marshalled to a Variant. Type library is not registered". when I using CaptureAction.
Since I've checked the functions be called, but got no idea to solve it. I hope you can answer.
To Reproduce Steps to reproduce the behavior:
Run code in ZIP.
Expected behavior
Actual behavior
Screenshots or .GIF
Desktop (please complete the following information):
Windows 11.
Additional context
Priority requested -