I have written a linux C++ client which consumes EMA objects streamed from a Reuters feed, this all works fine. However, I am having trouble creating EMA objects.
The code below fails with:
memory access violation at address: 0x000004c9: no mapping at fault address
I must be missing something obvious. Any ideas on what that might be?
FieldList fields;
fields.addInt (1, 100)
.addInt (2, 200)
.complete ();
while (fields.forth ())
{ }