weixin_39720516
weixin_39720516
2020-12-27 12:16

Error on Windows XP SP3

Hi, first to many thanks for this work.

I am trying to automate a Visual Foxpro aplication, and It works well in windows 10 an 8, 8.1, but when I try it in windows XP SP3, I get an error:

  • When using UIA3Automation, a get: Unregistered class for component with CSLID {FF48DBA4-60EF-4201-AA87-54103EEF594E}.

  • And When using UIA2Automation, the process to get the previously started aplication main windows is too slow in all Windows Operating System tested, and in windows XP I get this error : exception in type initializer "FlaUI.UIA2.Indentifiers.AutomationObjectIds".

Any idea, I need help.

Thank you

该提问来源于开源项目:FlaUI/FlaUI

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

7条回答

  • qq_33598781 何宽℡ 1月前

     The KB971513 patch pack is required. 

    漏洞描述   : Windows XP 更新程序 (KB971513);Windows Automation API 库包含最新版本的 Microsoft User Interface Automation (UI Automation) 和 Windows 7 中提供的 Microsoft Active Accessibility 库。安装本更新程序之后,可能必须重新启动计算机。

    点赞 评论 复制链接分享
  • weixin_39985286 weixin_39985286 3月前

    I think UIA3 is not available in XP at all. Can you post the whole exception you get when using UIA2 with inner exceptions? I will try to get an XP somewhere to test this myself.

    点赞 评论 复制链接分享
  • weixin_39985286 weixin_39985286 3月前

    I installed the modern.ie XP SP3 on virtualbox with Visual Studio 2010 C# Express and I can successfully use UIA2 and somehow even UIA3. Can you tell me more about what is installed like .Net Framework? Or did you find something else?

    点赞 评论 复制链接分享
  • weixin_39687468 weixin_39687468 3月前

    I am guessing if you make certain calls UIA3 will blow up. I was under the impression the virtualization pattern would exception on UIA2/3 on XP.

    点赞 评论 复制链接分享
  • weixin_39985286 weixin_39985286 3月前

    Any news on this?

    点赞 评论 复制链接分享
  • weixin_39720516 weixin_39720516 3月前

    Yes, I was wrong and post this without verification, because the three computer where I was testing at work have windows XP SP3, but they were with update disabled and blocked (the VFP program I'm automating, doesn't work well in other Windows version); after I've activated update function and update windows XP, UIA2 and UIA3 (functions I am using) worked well. So only update was necesary.

    I'm so sorry for you to lose your time.

    Thank you for your effort.

    点赞 评论 复制链接分享
  • weixin_39615499 weixin_39615499 3月前

    Yes, I was wrong and post this without verification, because the three computer where I was testing at work have windows XP SP3, but they were with update disabled and blocked (the VFP program I'm automating, doesn't work well in other Windows version); after I've activated update function and update windows XP, UIA2 and UIA3 (functions I am using) worked well. So only update was necesary.

    I'm so sorry for you to lose your time.

    Thank you for your effort.

    Hi, I got the same error, and I install all patched I can find, by there still goes the exception. Do you have any idea?

    点赞 评论 复制链接分享