I am trying to download data using C# .NET API and then feed the data into MATLAB 2018b 64-bits.
Initially, I have successfully downloaded the data using C# but not able to assembly the dll in MATLAB because the NuGet Package ThomsonReuters.Desktop.SDK.DataAccess.Signed is in 32-bits.
After reading this, I managed to install the ThomsonReuters.Desktop.SDK.DataAccess.Signed x64 package. The following error appears:
Message=Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.IInternalDataServices
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options)
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options)
at ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCContainer.Resolve[ResolveType](String name)
at EikonTester.Program.Main(String args) in C:\Users\XUEWE614\source\repos\EikonTester\Program.cs:line 18
Inner Exception 1:
TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.IInternalDataServices
Inner Exception 2:
TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.UdapService
Inner Exception 3:
TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.Connection
Inner Exception 4:
TinyIoCResolutionException: Unable to resolve type: ThomsonReuters.Udap.Ipc.Managed.Common.BusAdapter.IEikonBus
Inner Exception 5:
FileNotFoundException: Could not load file or assembly 'ThomsonReuters.Udap.BusTools.dll' or one of its dependencies. The specified module could not be found.
I followed this, checked all four DLLs are presents in the bin folder and in 64-bits.
I have tried to use the Process Monitor to see where goes wrong but with no success. I am not sure which filter I should use to check the events.
the following is the packages file
<?xml version="1.0" encoding="utf-8"?>
<package id="Common.Logging" version="2.1.2" targetFramework="net461" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net461" />
<package id="protobuf-net" version="126.96.36.1998" targetFramework="net461" />
<package id="ThomsonReuters.Desktop.SDK.DataAccess.Signed.x64" version="1.8.4" targetFramework="net461" />
<package id="ThomsonReuters.Udap.Ipc.Signed.x64" version="2.10.5" targetFramework="net461" />
Any suggestions about how I should proceed?
Please see the article titled Using Eikon .NET SDK in Matlab. This article provides precise instructions for setting up Eikon .NET SDK for use in Matlab.
Note that Eikon .NET SDK has dependency on both version 10 and 12 of Microsoft C runtime libraries. All 4 of the following DLLs must be available either in the PATH or in the same folder you load Eikon .NET SDK from: msvcp100.dll, msvcr100.dll, msvcp120.dll, msvcr120.dll.