When I implement the RtGet function by CSharp (by using Interop.EikonDesktopDataAPI and Interop.RTX), I meet an exception "Unable to cast COM object of type 'System.__ComObject' to interface type 'ThomsonReuters.Interop.RTX.IAdxRtList'". What's happened?
public List<RicItem> Get(List<RicItem> ricData)
{
this.ricData = ricData; this.ricData.ForEach(ric => {this.adxRtList.RegisterItems(ric.Ric, ric.Field); });
this.adxRtList.StartUpdates(RT_RunMode.RT_MODE_ONUPDATE); syncMgr.WaitOne();
return this.ricData;
}