简体   繁体   English

向拖车添加字段会改变校验和位置 - quickfix C# - #quickfixn

[英]Adding fields to trailler alters checksum position - quickfix C# - #quickfixn

my friends.我的朋友。

I am trying to update these two trailer fields using this code below, but, each time I do it, they go past checksum invalidating so the resulting message.我正在尝试使用下面的代码更新这两个预告片字段,但是,每次我这样做时,它们都会通过校验和使结果消息无效。

--------------------------code ----------------- - - - - - - - - - - - - - 代码 - - - - - - - - -

        no.Trailer.SetField(new Signature("CHAVE"));
        no.Trailer.SetField(new SignatureLength(5));

resulting message:结果消息:

..... 10=153 89=CHAVE 93=5 ..... 10=153 89=CHAVE 93=5

What should be the right way to get them edited?编辑它们的正确方法应该是什么?

If I use just, "no.SetField" it gives me a "Tag specified out of required order" message.如果我只使用“no.SetField”,它会给我一条“按要求指定的标签”消息。

Thanks in advance, Roberto.提前致谢,罗伯托。

I do not know why but, compiling and using the QuickFix44.DLL from the github most recent code solved the problem.我不知道为什么,但是,从 github 最新代码编译和使用 QuickFix44.DLL 解决了这个问题。

Thanks.谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM