I would expect this to work, as I can for example programmatically cast the COM object to IDispatch, and from there obtain the ITypeInfo, etc.
Details of the error I’m seeing when expanding the Dynamic View:
{System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Dynamic.ComRuntimeHelpers.GetITypeInfoFromIDispatch(IDispatch dispatch, Boolean throwIfMissingExpectedTypeInfo)
at System.Dynamic.IDispatchComObject.EnsureScanDefinedMethods()
at System.Dynamic.IDispatchComObject.GetMemberNames(Boolean dataOnly)
at System.Dynamic.ComBinder.GetDynamicDataMemberNames(Object value)
at Microsoft.CSharp.RuntimeBinder.DynamicMetaObjectProviderDebugView.QueryDynamicObject(Object obj)
at Microsoft.CSharp.RuntimeBinder.DynamicMetaObjectProviderDebugView.get_Items()}
What am I missing?