Data Dictionary is updated with values and correct I receive the message properly but when I try to cast them to the new type it fails

On Wed, Oct 8, 2008 at 7:59 PM, Shane Trotter <> wrote:
You should check the DataDictionary XML file, it defines the message structures/fields.  You should be able to add fields/types there.

Shane Trotter
Connamara Systems, LLC

On Wed, Oct 8, 2008 at 6:49 PM, Malinka Rellikwodahs <> wrote:
QuickFIX Documentation:
QuickFIX Support:

I know this has been discussed before however looking through the archive i was unable to determine how to successfully add a new message type to the system, so that it will work with MessageCracker. 

In C#, I created a new class inheriting QuickFix44 with the tags I will be needing in this message, and then in my Application/Message Cracker object I added a public new void onMessage(QuickFix.Message, QuickFix.SessionID ses), which I created an if statement looking for the MsgType value the new Message will be using, which all works correctly, however when I try casting to the new message type, the same as is done in the QuickFix44 MessageCracker, It throws an InvalidCastException saying it can't convert from QuickFix44.Message to my new Message type. After looking through the Message code I'm not seeing why this would be.  Any help or suggestions would be appreciated.

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Quickfix-developers mailing list