[Quickfix-developers] Converting message to string
Brought to you by:
orenmnero
|
From: crazy4venu <cra...@gm...> - 2008-08-31 04:07:28
|
Dear All,
I am trying to convert the message from below function to string data
void Application::onMessage(const FIX42::ExecutionReport& mesg, const
FIX::SessionID& sid)
{
std::cout<<"On Message Execution Report"<<mesg<<std::endl;
std::string str;
mesg.toString(str);
printf("Message string is %s",str);
}
but my application crashes when i do in this manner.
is it possible to convert the message data in execution report to string ?
Regards
tinnu
--
View this message in context: http://www.nabble.com/Converting-message-to-string-tp19241250p19241250.html
Sent from the QuickFIX - Dev mailing list archive at Nabble.com.
|