question

Upvotes
Accepted
1 0 2 3

Cannot read EmaConfig from a specific path

When I try to read EmaConfig.xml from a specific path it doesn't seem to work :

OmmConsumerConfig config(".\config\EmaConfig.xml"); => KO

config.username("xxx");

config.password("yyy");

config.clientId("zzz");

OmmConsumer consumer(config);

consumer.registerClient(ReqMsg().serviceName("ELEKTRON_DD").name("EUR="), client);

The only way to have a EmaConfig.xm working is to put in the current directory of my program.

elektronrefinitiv-realtimeelektron-sdkema-apirrtconfiguration
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.

@Nicolas.Belhoste1

Were you able to follow the advice provided by @wasin.waeosri ? If you still need help with the issue you reported, please update this thread.

@Nicolas.Belhoste1

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

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

@Nicolas.Belhoste1

Hi,

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

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
24.9k 54 17 14

Hello @Nicolas.Belhoste1

Could you please try with the EMA ex111_MP_UserSpecifiedFileCfg example that comes with the SDK package?

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.