Ahh, I know why it is doing this but I would say it is not the correct
behavior and should be changed. What is happening is you are getting
some other type of message, say a logon, or a heartbeat, or whatever.
Well the cracker's originally supported only Application messages and
then Admin messages were added. Well the default behavior for cracking
an application message that does not have an override method is to
reject it as not supported, which makes sense. For application
messages, however, this does not make sense and the message should
really just be ignored. I'll modify the generator to make sure this is
the new behavior.
--oren
On Jun 9, 2004, at 3:51 AM, Ramprakash Umapathy wrote:
> QuickFIX Documentation:
> http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX FAQ: http://www.quickfixengine.org/quickfix/doc/html/FAQ.html
>
> Hi,
>
> Can anyone explain why I get error when I try to crack messages
> fromAdmin
> using the following code
>
> Public Sub fromAdmin(ByVal QFmessage As QuickFix.Message, ByVal
> QFSession As
> QuickFix.SessionID) Implements QuickFix.Application.fromAdmin
>
> 'Some code here
> '---
> '---
> '---
>
> crack(QFmessage, QFSession)
>
>
> End Sub
>
> Public Overloads Overrides Sub onMessage(ByVal message As
> QuickFix42.TestRequest, ByVal session As QuickFix.SessionID)
> MsgBox(message.getTestReqID.getValue)
> End Sub
>
>
> The Error is,
>
> An unhandled exception of type 'QuickFix.UnsupportedMessageType'
> occurred in
> quickfix_net_messages.dll in the code where I is crack command.
>
> I use QF 1.7.1 with Microsoft.NET 1.1/Windows 2003/VS.NET 2003
>
> Thanks in advance,
> Ramprakash
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June in Norway
> http://2004/guadec.org
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
|