<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Grant Sir,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Earlier I have done the same thing as you have mentioned in FAQ, but in this case, password and username will be hard-coded. That’s why I have changed the QuickFixn code according to my requirement and entered the username & password in config file. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Actually my problem is I have to make a code which request data with 2 banks simultaneously. For this I have to use only single QuickFixn.dll. But both banks have their own specifications in which one bank needs password while other bank don’t. Some other changes were also their in both bank’s specifications.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So I have edited three file to make them usable for both the banks. I have changed SessionSettings.cs, Session.cs and SessionID.cs files in the quickfixn code. I have changed the constructor definitions in SessionID.cs. & Hence calling of constructors in SessionSettings.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>After all the changes, now my single dll is working absolutely fine with both the banks.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>May be I have used the long process. But this has increased my understanding of Quickfixn internal coding.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks & Regards,</span><b><span lang=EN-IN style='font-size:11.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=EN-IN style='font-size:11.0pt;font-family:"Century Gothic","sans-serif";color:#0F243E'>Nirjhar Jain</span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0F243E'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Software Engineer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black'><br></span><b><span style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>COMMDEL</span></b><span lang=EN-IN style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Commdel Consulting Services P Ltd, <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black'>H-134, Sector-63, Noida - U.P. (India)</span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>   <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black'>    </span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>           </span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://www.commdel.net/"><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>www.commdel.net</span></a></span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>   <o:p></o:p></span></p><p class=MsoNormal><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black'>A n   </span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>I S O     9 0 0 1 : 2 0 0 8</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black'>      C e r t i f i e d     C o m p a n y<o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Payment</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black'>           </span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>Enterprise</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>            </span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#FFC000'>Mobility</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>            </span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#A6A6A6'>Internet</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699'> </span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black'> </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> quickfixn-bounces@lists.quickfixn.com [mailto:quickfixn-bounces@lists.quickfixn.com] <b>On Behalf Of </b>Grant Birchmeier<br><b>Sent:</b> Wednesday, December 04, 2013 10:45 PM<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} Please Help in changing logon message<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='color:black'>Hi Nirjhar,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>See this FAQ that I just wrote.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><a href="https://github.com/connamara/quickfixn/wiki/User-FAQ">https://github.com/connamara/quickfixn/wiki/User-FAQ</a></span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='color:black'>You'll need to pass your settings object into your IApplication somehow (or at least the username/password strings), so that your ToAdmin() callback can see it.</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='color:black'>(The SessionSettings interface could use some improvement, but it will work well enough for what you are proposing.)</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='color:black'>-Grant</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Nov 28, 2013 at 11:26 PM, Nirjhar Jain <<a href="mailto:nirjhar.jain@commdel.net" target="_blank">nirjhar.jain@commdel.net</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Actually I have added</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:blue'>if</span><span style='font-size:9.5pt;font-family:Consolas'> (<span style='color:#2B91AF'>SessionID</span>.IsSet(<span style='color:blue'>this</span>.SessionID.Password))</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>                logon.SetField(<span style='color:blue'>new</span> Fields.Password(<span style='color:blue'>this</span>.SessionID.Password));</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>in the GenerateLogon() function. Only adding Password in </span><span lang=NO-BOK>QF config file had not worked for me.</span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks & Regards,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:11.0pt;font-family:"Century Gothic","sans-serif";color:#0F243E'>Nirjhar Jain</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Software Engineer</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'><br></span><b><span style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>COMMDEL</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Commdel Consulting Services P Ltd, </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>H-134, Sector-63, Noida - U.P. (India)</span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>   </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>    <span style='color:#1F497D'>           </span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://www.commdel.net/" target="_blank"><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>www.commdel.net</span></a></span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>   </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>A n   <span style='color:#006699'>I S O     9 0 0 1 : 2 0 0 8</span>      C e r t i f i e d     C o m p a n y</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Payment</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>           <span style='color:#0070C0'>Enterprise</span><span style='color:#006699'>            </span><span style='color:#FFC000'>Mobility</span><span style='color:#006699'>            </span><span style='color:#A6A6A6'>Internet</span><span style='color:#006699'> </span></span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'> </span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> <a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a> [mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>] <b>On Behalf Of </b>Øyvind Sævareid Ellefsen<br><b>Sent:</b> Thursday, November 28, 2013 9:57 PM</span><o:p></o:p></p><div><div><p class=MsoNormal><br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} Please Help in changing logon message<o:p></o:p></p></div></div></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hmm, I have had trouble with that earlier.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Just Password=YOURPASSWORDSTRING in each session it is needed?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Oeyvind</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> <a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a> [<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">mailto:quickfixn-bounces@lists.quickfixn.com</a>] <b>On Behalf Of </b>Grant Birchmeier<br><b>Sent:</b> 28. november 2013 17:11<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} Please Help in changing logon message</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> </span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>You can put the username/password in your QF config file and then read them from your SessionSettings object.</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> </span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>I would recommend this over editing the QF source.</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> </span><o:p></o:p></p></div></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=NO-BOK> </span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>On Thu, Nov 28, 2013 at 9:42 AM, Nirjhar Jain <<a href="mailto:nirjhar.jain@commdel.net" target="_blank">nirjhar.jain@commdel.net</a>> wrote:</span><o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>This will hardcode the password in the code, but I don’t want that. I want to pass it in .cfg file.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>It’s Ok. I found the solution for this.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>I have added the password in generateLogon() in Session.cs class.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>This resolved my issue. </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks for quick response.</span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks & Regards,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-family:"Century Gothic","sans-serif";color:#0F243E'>Nirjhar Jain</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Software Engineer</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'><br></span><b><span style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>COMMDEL</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Commdel Consulting Services P Ltd, </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>H-134, Sector-63, Noida - U.P. (India)</span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>   </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>    <span style='color:#1F497D'>           </span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'><a href="http://www.commdel.net/" target="_blank"><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>www.commdel.net</span></a></span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>   </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>A n   <span style='color:#006699'>I S O     9 0 0 1 : 2 0 0 8</span>      C e r t i f i e d     C o m p a n y</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Payment</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>           <span style='color:#0070C0'>Enterprise</span><span style='color:#006699'>            </span><span style='color:#FFC000'>Mobility</span><span style='color:#006699'>            </span><span style='color:#A6A6A6'>Internet</span><span style='color:#006699'> </span></span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'> </span><o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From:</b> <a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a> [mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>] <b>On Behalf Of </b>Øyvind Sævareid Ellefsen<br><b>Sent:</b> Thursday, November 28, 2013 7:07 PM<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br><b>To:</b> Mailing list for QuickFIX/n<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>Subject:</b> Re: {{Quickfixn}} Please Help in changing logon message<o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>Hi, you can have something like this in your class;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:blue'>public</span><span style='font-size:9.5pt;font-family:Consolas'> <span style='color:blue'>void</span> ToAdmin(<span style='color:#2B91AF'>Message</span> message, <span style='color:#2B91AF'>SessionID</span> sessionID)</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>        </span><span lang=NO-BOK style='font-size:9.5pt;font-family:Consolas'>{</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=NO-BOK style='font-size:9.5pt;font-family:Consolas'>            </span><span style='font-size:9.5pt;font-family:Consolas;color:#2B91AF'>Header</span><span style='font-size:9.5pt;font-family:Consolas'> header = message.Header;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>            <span style='color:blue'>if</span> (header.GetField(<span style='color:#2B91AF'>Tags</span>.MsgType) == <span style='color:#2B91AF'>MsgType</span>.LOGON)</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>            {</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:35.4pt;text-indent:35.4pt;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>  message.SetField(<span style='color:blue'>new</span> <span style='color:#2B91AF'>Password</span>(<span style='color:#A31515'>"<your-password-goes-here"</span>));</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>                message.SetField(<span style='color:blue'>new</span> <span style='color:#2B91AF'>EncryptMethod</span>(<span style='color:#2B91AF'>EncryptMethod</span>.NONE));</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>                             message.SetField(<span style='color:blue'>new</span> <span style='color:#2B91AF'>HeartBtInt</span>(30));</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>                </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>            }</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas'>        }</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>It will then apply your password to the message sent to your counterpart.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>I have seen this as very undocumented, so I had to spend some time finding out myself.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>Mvh / Brgds</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>Oeyvind Ellefsen</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='color:#1F497D'> </span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From:</b> <a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a> [<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">mailto:quickfixn-bounces@lists.quickfixn.com</a>] <b>On Behalf Of </b>Nirjhar Jain<br><b>Sent:</b> 28. november 2013 14:34<br><b>To:</b> 'Mailing list for QuickFIX/n'<br><b>Subject:</b> {{Quickfixn}} Please Help in changing logon message<o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi All,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>If I want to add 2 field in Logon message to be sent to the acceptor server, that are Account and Password, then what changes I have to do in QuickFix code.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks & Regards,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-family:"Century Gothic","sans-serif";color:#0F243E'>Nirjhar Jain</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Software Engineer</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'><br></span><b><span style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>COMMDEL</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Commdel Consulting Services P Ltd, </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>H-134, Sector-63, Noida - U.P. (India)</span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>   </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>    <span style='color:#1F497D'>           </span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://www.commdel.net/" target="_blank"><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>www.commdel.net</span></a><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>   </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>A n   <span style='color:#006699'>I S O     9 0 0 1 : 2 0 0 8</span>      C e r t i f i e d     C o m p a n y</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Payment</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>           <span style='color:#0070C0'>Enterprise</span><span style='color:#006699'>            </span><span style='color:#FFC000'>Mobility</span><span style='color:#006699'>            </span><span style='color:#A6A6A6'>Internet</span><span style='color:#006699'> </span></span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=NO-BOK><br>_______________________________________________<br>Quickfixn mailing list<br><a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a></span><o:p></o:p></p></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK><br><br clear=all></span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> </span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>-- </span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='background:white'>Grant Birchmeier</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=NO-BOK style='color:#3333FF;background:#FFCC00'>Connamara Systems, LLC</span></b><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=NO-BOK>Made-To-Measure Trading Solutions.</span></b><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>Exactly what you need. No more. No less.</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK><a href="http://connamara.com" target="_blank">http://connamara.com</a></span><o:p></o:p></p></div></div></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>Quickfixn mailing list<br><a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal><span style='background:white'>Grant Birchmeier</span><o:p></o:p></p></div><div><p class=MsoNormal><b><span style='color:#3333FF;background:#FFCC00'>Connamara Systems, LLC</span></b><o:p></o:p></p></div><div><p class=MsoNormal><b>Made-To-Measure Trading Solutions.</b><o:p></o:p></p></div><div><p class=MsoNormal>Exactly what you need. No more. No less.<o:p></o:p></p></div><div><p class=MsoNormal><a href="http://connamara.com" target="_blank">http://connamara.com</a><o:p></o:p></p></div></div></div></body></html>