Re: [Quickfix-developers] Converting message to string
Brought to you by:
orenmnero
From: derekldn <der...@gm...> - 2008-08-31 11:21:40
|
crazy4venu wrote: > > std::string str; > > mesg.toString(str); > printf("Message string is %s",str); > I guess it crashed not because ExecutionReport failed to convert to string, but because you pass a std::string object to printf. Try to use std::cout instead of printf, or pass str.c_str() to printf. -- View this message in context: http://www.nabble.com/Converting-message-to-string-tp19241250p19241350.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |