Re: [Quickfix-developers] Question re data fields
Brought to you by:
orenmnero
|
From: Oren M. <ore...@ya...> - 2003-06-27 15:14:25
|
Do you know what exception is being thrown. Try
setting up a catch block for std::exception and print
out what(). That should tell us why the exception is
being thrown.
--- murphypa <mur...@pe...> wrote:
> Hi,
>
>
> I have tried to process an encrypted message
> (supplied below) to a
> Message object. This fails with an exception.
>
> > DataDictionary encDataDictionary(
> "spec/FIX42.xml" );
> > assert( object.setString (strEnc, true,
> &encDataDictionary) );
>
> I have subsequently appended the following to the
> Message::extractField (...):
>
> In the "if ( pDD && pDD->isDataField(field) )"
> block:
>
> > else if ( isHeaderField( lenField ) &&
> m_header.isSetField( lenField ) )
> > {
> > fieldLength = m_header.getField( lenField );
> > soh = equalSign + 1 + atol(
> fieldLength.c_str() );
> > }
> > else if ( isTrailerField( lenField ) &&
> m_trailer.isSetField( lenField ) )
> > {
> > fieldLength = m_trailer.getField( lenField );
> > soh = equalSign + 1 + atol(
> fieldLength.c_str() );
> > }
> .
>
> What I want to know is - have I missed anything -
> and are there any
> other places I would have to investigate?
>
> sincerely
> murphypa
>
> EncMsg:
>
"8=FIX.4.29=18935=849=PERESYS56=UBS34=352=20030627-11:34:5554=211=494,101940=238=600039=055=OMLJ.J17=494,1019:1:Ack20=037=494,1019150=06=0151=600014=032=031=093=1689=Ó
>
> ÷I¤u[ø_+òå10=138"
>
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An
> INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10%
> Monthly Commission!
> INetU Dedicated Managed Hosting
> http://www.inetu.net/partner/index.php
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
|