简体   繁体   English

QuickFIX/n 不支持的消息类型

[英]QuickFIX/n Unsupported Message Type

I'm working on upgrading a VB.NET application from Quickfix.net 1.0.3 to the latest code on github (even newer than the published v1.9.0 because I need a new feature).我正在将 VB.NET 应用程序从 Quickfix.net 1.0.3 升级到 github 上的最新代码(甚至比已发布的 v1.9.0 更新,因为我需要一个新功能)。 After making the necessary changes, I'm receiving an Unsupported Message Type error from the cracker when I attempt to send in a FIX42.NewOrderSingle.进行必要的更改后,当我尝试发送 FIX42.NewOrderSingle 时,我收到来自破解程序的 Unsupported Message Type 错误。 I've looked through every similar issue on every forum and the issue is usually that it's not handling that particular message type, but I am handling the exact type, so I'm not sure what the problem is.我已经查看了每个论坛上的所有类似问题,问题通常是它没有处理特定的消息类型,但我正在处理确切的类型,所以我不确定问题是什么。 I'm using the out of box specs too.我也在使用开箱即用的规格。

    Public Sub onMessage(ByVal message As FIX42.NewOrderSingle, ByVal session As QuickFix.SessionID)
        RaiseEvent Up2OMS_NewOrderSingle(message, session)
    End Sub

Any ideas or is there any way I can debug the issue?有什么想法或有什么方法可以调试问题吗?

Grant Birchmeier on the QuickFix/n mailing list had the solution: post on mailing list I needed to capitalize the initial "o" in OnMessage. QuickFix/n 邮件列表上的Grant Birchmeier有解决方案: 在邮件列表上发帖我需要将 OnMessage 中的首字母“o”大写。

Normally case-sensitivity wouldn't matter in VB, but in this case, there's some internal C# code reflection that's literally looking for the exact string "OnMessage".通常在 VB 中区分大小写无关紧要,但在这种情况下,有一些内部 C# 代码反射实际上是在寻找确切的字符串“OnMessage”。

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

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