Can you explain what exactly didn't work? If you want to do code
generation, then you should use one of the supplied batch files
(generate.bat, or just run a language specific one like
generate_c++.bat). If you don't want to run the code generation, you
don't have to. Just use the setField method and you can force the
fields into the FIX42 logon message.
As for reading from the settings, that's an entirely different thing.
You will need to pull them out of the SessionSettings object yourself
and put the values into the logon message as it passes through the
toAdmin callback.
--oren
On Aug 2, 2004, at 3:22 PM, Peter Imhof wrote:
> QuickFIX Documentation:
> http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX FAQ: http://www.quickfixengine.org/quickfix/doc/html/FAQ.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi
> I'm a quickfix newbie and my first task is to add the Username (553)
> and
> Password (554) to a FIX4.2 logon message.
> These two vars should be put in the settings-file. So I tried to
> modify the
> FIX4.2.xml, run msxsl.exe and set the DataDictionary in the
> settingsfile to
> \path\FIX4.2.xml file. But it did not work.
> Am I completely wrong with this approach or what would be correct
> here?
>
> rgrds & thanks
> Peter
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes
> on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source
> Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
|