[Quickfix-developers] NewOrderMultileg compilation issue.
Brought to you by:
orenmnero
|
From: Boby P. <bp...@gl...> - 2005-04-25 13:40:37
|
Dear Quickfixers,
I have the following issue in compiling my application with quickfix
library.
void CMyApplication::onMessage(const FIX43::NewOrderMultileg& aMsg, const
FIX::SessionID& aSessionID)
{
FIX::SenderCompID aSenderCompID; // this is OK
aMsg.getHeader().get(aSenderCompID); // this is NOT ok
....
...
}
ERROR:
CMyApplication.cpp: In member function `virtual void
CMyApplication::onMessage(const FIX43::NewOrderMultileg&, const
FIX::SessionID&)
CMyApplication.cpp:202: error: `getHeader' undeclared (first use this
function)
But I am using the same format in another function and it WORKS FINE.
void CMyApplication::onMessage(const FIX43::NewOrderSingle& aMsg, const
FIX::SessionID& aSessionID)
{
FIX::SenderCompID aSenderCompID; // this is OK
aMsg.getHeader().get(aSenderCompID); // this is OK
....
...
}
Can anybody help me with why is it causing and remedy for that?
I am using solaris with gcc 3.3.2 with quickfix version 1.9.4
Thanks
boby paul
bp...@gl...
1-888-304-8881x2400
|