Hello Divya,Thank you for your answer. Indeed in ytour case it seems to work in net 8, that gives hope.The code I’m working with is rather complex and extracting a clean example is not easy.Just as an extra info, when I start it in .net 8 I see this internal exception:System.InvalidOperationException: ‘Type ‘Infragistics.Win.AccessibleObjectWrapper+UltraAccessibleObject’ has a ComVisible(false) parent ‘System.Windows.Forms.AccessibleObject’ in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed.’with this call stack:
It does not happen when the same code is built in net 7.Of course it can also be something wrong on my side.