Re: [Quickfix-developers] Custom Fields
Brought to you by:
orenmnero
From: Brian E. <azz...@ya...> - 2008-01-29 15:49:52
|
It depends on what you mean by "recognize". If you simply mean that you want QF to allow that field on an inbound message, it should work just fine as is - you just need to access the field via message.getField() instead of message.get(). If QF is rejecting the message due to your custom field (that shouldn't happen), you should be able to modify the appropriate XML file (FIX4n.XML, where "n" is 0-4). If you want full-blown support for your custom field (the field exists in the QuickFix namespace and is an integral part of your classes), then you need to create a custom version of QuickFIX, which is not nearly as hard as it sounds. I even wrote a document describing how it's done: http://www.nabble.com/Custom-Messages-Classes-Tutorial-p13495584.html Oren at one point indicated that he would put that document up on the website, but I don't think he's gotten around to it yet. Hope this helps. - Brian Erst Thynk Software, Inc. ----- Original Message ---- From: Mikhail Veygman <mve...@gm...> To: qui...@li... Sent: Tuesday, January 29, 2008 4:04:59 AM Subject: [Quickfix-developers] Custom Fields QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html All, When defining custom user fields: USER_DEFINE_STRING(CUSTOM, 9980); Is there any way to make the library recognize this field when it is being received outside of hacking the Header Files? Regards, Mikhail -----Inline Attachment Follows----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -----Inline Attachment Follows----- _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |