Re: [Quickfix-developers] CharField problem (VC6)
Brought to you by:
orenmnero
From: Caleb E. <cal...@gm...> - 2005-03-02 16:27:57
|
On Wed, 02 Mar 2005 09:48:32 -0500, Alexey Zubko <ale...@in...> wrote: > I've got the following problem: > > I put a char field (Side) initiated with '\0' by mistake and got FIX > message truncated. > I think in this case QF has to check the value in CharConvertor::convert > for 0. > > struct CharConvertor > { > static std::string convert( char value ) > { > return std::string( 1, value ); > } > ......... > > The following string is not empty and has size 1: > std::string s( 1, '\0'); Which version of QuickFIX? There were some issues in QF up to and including version 1.9.2 which prevented messages with embedded null bytes from being serialized and deserialized properly. These should all be fixed as of 1.9.3 and later (though your Side field would still be invalid). -- Caleb Epstein caleb dot epstein at gmail dot com |