I am able to run the c# DataApiUsageExampleRealtimeData as a console application all right.
Now that I need the Eikon Data API within a DLL.I have referenced the "ThomsonReuters.Desktop.SDK.DataAccess.dll" and the other UDAP dll alright.
I cannot get any events to fire for
after this code runs without any issues:
subscription = realtime.SetupDataSubscription() .WithRics("EUR=") .WithFields("BID", "ASK", "TIMACT") .WithDateAndTimeMode(TimeAndDateMode.GMT) .OnDataUpdated(DataReceivedCallbackInit) .CreateAndStart();
I believe it has something to do with the threading model:
private static readonly DispatcherFrame Frame = new DispatcherFrame();
Any idea on how I can achieve this kind of threading within the DLL I am trying to code?
Do I need to put the above code into a new thread?
Thanks for support,