question

Upvotes
Accepted
61 4 9 12

Eikon .NET API in managed C++

I'm attempting to implement the Eikon .Net API for some older legacy applications. In the past I've been able to wrap .Net APIs in Managed C++ and everything seems to work fine. However with Eikon I've run into trouble.

When executing "DataServices.Instance" I get the following exception.

An unhandled exception of type 'ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException' occurred in ThomsonReuters.Desktop.SDK.DataAccess.dll Additional information: Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.IInternalDataServices

Is this a situation of it's just not going to work or is there a way to work around this?

Thanks,

eikoneikon-data-apieikon-com-apic++c#
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@tobermark

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Hi @tobermark,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

I don't think this is insurmountable. I've never used this API in C++, but I've had a project where I used it successfully in Java, which is a much less compatible environment. For starters I would suggest you check you have all the dependencies in the build folder. Take a look at these two previous threads on this forum:

https://community.developers.refinitiv.com/questions/27251/what-is-causing-this-exception.html

https://community.developers.refinitiv.com/questions/22606/eikon-net-c-sample-code-is-not-working-in-x64-envi.html

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.