question

Upvotes
Accepted
1 0 0 1

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-sdkrrtema-apiconfiguration
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
11.5k 16 7 10

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea