How to use MS UI Automation in Delphi 2009

后端 未结 1 765

I have a C# application, which uses Microsoft UI Automation functionality, e. g. a call like AutomationElement.RootElement.FindFirst(...).

Now I need to

1条回答
  •  感情败类
    2020-12-11 13:47

    As stated in the comments you have to import the UI Automation type library (COM Object) into your project, this can be done with the "Import Component" wizard (Component -> Import Component) in Delphi 2010.

    Microsoft kept the COM Object's interface really close to it's .NET counterpart so you shouldn't have much trouble to use it if you are already familiar with the .NET automation library.

    0 讨论(0)
提交回复
热议问题