<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We had a very similar issue to this.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The problem is that the QuickFIX/n library now <span style="font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">
dynamically scans all the<span> </span></span><span style="margin: 0px; font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255)">static</span><span style="font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><span> </span>DLLs
in the product to see which ones expose a return type of DefaultMessageFactory. This seems pretty bad form to me, as it causes all libraries to load, and throws errors at the point where QuickFIX/n loads the default message factory instead of where that library
is actually required.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">In our case, we were developing in 32-bit, and we had a DLL that accessed a third-party 64 bit DLL, and so I couldn't start up QuickFIX until I
developed in 64 bit mode.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">My view is that GetMessageFactories should only be scanning the QuickFIX DLLs, and *NOT* all DLLs in the product, to see which ones return the DefaultMessageFactory
type. </span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">Campbell</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Quickfixn <quickfixn-bounces@lists.quickfixn.com> on behalf of Grant Birchmeier <gbirchmeier@connamara.com><br>
<b>Sent:</b> 13 July 2020 14:25<br>
<b>To:</b> Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com><br>
<b>Subject:</b> Re: {{Quickfixn}} Exception while processing the FIX messages</font>
<div> </div>
</div>
<div><b><span style="color:red">[CAUTION] EXTERNAL EMAIL</span> <span style="color:white">
..</span> <br>
<br>
</b>
<div>
<div dir="ltr">This has nothing to do with QF/n. Your app can't find the "WeifenLuo.WinFormsUI.Docking" library<span class="x_gmail_default" style="font-size:small; color:rgb(0,0,0)">.</span></div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Thu, Jul 9, 2020 at 1:35 PM Veduruparthi Raju <<a href="mailto:rveduruparthi@gmail.com">rveduruparthi@gmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am using the QuickFix version 1.9 and using the below dll's in my project connecting to different exchanges one supporting the FIX44 and the other FIX50SP2.</div>
<div>I am seeing the following exception while processing the messages.</div>
<div>Does that assembly have anything to do with the quickfix engine I am using ?</div>
<div>BTW i am using the .NET Framework 4.7.</div>
<div>Appreciate any insight into this.</div>
<div><br>
</div>
<div>QuickFix.dll<br>
</div>
<div>QuickFix.FIX50SP2.dll<br>
</div>
<div>QuickFix.FIX44.dll<br>
</div>
<div><br>
</div>
<div><b>Exception:</b></div>
<div>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
System.IO.FileNotFoundException: Could not load file or assembly 'WeifenLuo.WinFormsUI.Docking, Version=3.0.4.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481' or one of its dependencies. The system cannot find the file specified.</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
File name: 'WeifenLuo.WinFormsUI.Docking, Version=3.0.4.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481'</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
at System.Reflection.RuntimeAssembly.GetExportedTypes()</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
at QuickFix.DefaultMessageFactory.GetMessageFactories(IEnumerable`1 assemblies)</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
at QuickFix.DefaultMessageFactory..ctor(String defaultApplVerId)</p>
</div>
<div><br clear="all">
<div>Thanks,<br>
</div>
<div dir="ltr">
<div>--Raju.v</div>
</div>
</div>
</div>
_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.quickfixn.com%2Flistinfo.cgi%2Fquickfixn-quickfixn.com&data=02%7C01%7CCampbell.Wild%40ihsmarkit.com%7Cfdf77e34ecb14fcaf28508d82730331c%7Cc1156c2fa3bb4fc4ac073eab96da8d10%7C0%7C0%7C637302435254977115&sdata=mBvhlBIgbuKa4TPa%2FrjD9Mu9d%2Fx4CgoH3y8OfczCjEQ%3D&reserved=0" originalsrc="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" shash="bAhtZcQiORkLLflJ+qSz05KFkdosVq6AZ14QSc2wkE6swZi1cTfM+cDWLRk1GmWnDkm5AWgtUlp3vQCmNfmG53ftNTJo2ztNbRqgN9ONgDixX/15qfChgG4FfoV0ggn7/eqF2ERCEAVdoOb+QE7c+EBjHIzM4b7bDcvZLefpzaE=" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div><font size="2"><span style="background-color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br>
</font></font></div>
<div><font size="2"><b><font color="#3333ff"><span style="background-color:rgb(255,204,51)"><span style="background-color:rgb(255,204,102)"><span style="background-color:rgb(255,204,153)"><span style="background-color:rgb(255,255,255)"><span style="background-color:rgb(255,204,0)">Connamara
Systems, LLC</span></span></span></span></span></font></b></font><br>
</div>
<div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div>
<div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br>
</font></b></font></div>
<div><font size="2"><a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconnamara.com%2F&data=02%7C01%7CCampbell.Wild%40ihsmarkit.com%7Cfdf77e34ecb14fcaf28508d82730331c%7Cc1156c2fa3bb4fc4ac073eab96da8d10%7C0%7C0%7C637302435254987114&sdata=FGgGbhmLHHk0BbxgXkB8XqWZYTOAADgFjP4flJFyPr0%3D&reserved=0" originalsrc="http://connamara.com/" shash="wWizlFF9h1TWgeVOE7OVHSY+mVyviW9K6kYLqDpyDMVv2ELvtnoz9a6hJJJlu817lO9UVvhtcuS+MsqMRXtZjQpOY5MoOq8adT1WJ6sA7Tu1B7ShiP8duPxWFTb6DhmE0tOTY3v4RyCXxv14NZxVPHbiTxFMulNoSY3aRbSRz+U=" target="_blank">http://connamara.com</a><br>
</font></div>
</div>
<br>
<span style="color:rgb(29,28,29); font-family:Slack-Lato,appleLogo,sans-serif; white-space:pre-wrap; background-color:white"><font size="2">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact
the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.</font></span></div>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="1"><br>
This e-mail, including accompanying communications and attachments, is strictly confidential and only for the intended recipient. Any retention, use or disclosure not expressly authorised by IHSMarkit is prohibited. This email is subject to all waivers and
other terms at the following link: https://ihsmarkit.com/Legal/EmailDisclaimer.html<br>
<br>
Please visit www.ihsmarkit.com/about/contact-us.html for contact information on our offices worldwide.<br>
</font>
</body>
</html>