Jump to content

dstrong

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by dstrong

  1. Yes, I have .net 4.8 runtime installed on the test system. The main problem I have is with 4.8, the AutoIt ObjCreate call fails, but runs without error when I uninstall 4.8 and use 4.7.2.
  2. Thank you Earthshine, I rebuilt the DLL targeted to 4.8 but have the same results. I will investigate using UIAutomation.
  3. I have been using AutoIt V3.3.14.5 calling a C# custom DLL to find the control names on WPF forms in a Windows 10 app that was targeted to .net 4.7.2. This has worked flawlessly for many years. We just rebuilt our Windows 10 app with Visual Studio 2019 and .net 4.8. The attached sample code now errors out (80040154) with the ObjCreate call. I have tried the .net 4.8 patch, signing the DLL, AutoIt V3.3.14.5 beta version and many other things without success. When I uninstall .net 4.8 (KB448129) and reinstall .net 4.7.2 everything works again. This is on Windows 10 Build 1607. The Windows 10 app also has WinForms and they work with both .net versions. It is only the WPF forms and .net 4.8 that don't work. Are there any other things I can try?SimpleWPF.au3
×
×
  • Create New...