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