<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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-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.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Many thanks Matthieu,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Using the dependency walker to identify the missing .DLL solved the issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">As a side note, we had to use the version for windows 10 from:
</span><a href="https://github.com/lucasg/Dependencies">https://github.com/lucasg/Dependencies</a><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Pau<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Bolt, Matthieu (ITCDOR) - KLM <Matthieu.Bolt@klm.com>
<br>
<b>Sent:</b> 07 June 2019 06:22<br>
<b>To:</b> Juan Garcia, Pau <Pau.JuanGarcia@atkinsglobal.com><br>
<b>Cc:</b> Constantino, Carlos <Carlos.Constantino@atkinsglobal.com>; Allan, David F <David.Allan2@atkinsglobal.com>; coin-discuss@list.coin-or.org<br>
<b>Subject:</b> Re: List of Windows dll dependencies<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div id="divtagdefaultwrapper">
<p><span style="font-size:12.0pt;color:black">Hi Pau,<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">It's not clear for me how you have build the CoinMp.dll, for example if build with visual studio you might also have to deploy the correct version of the c runtime (the same as the used for building the dll). If
 that doesn't help then you can also detect all dependencies on windows machines using <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dependencywalker.com_&d=DwMF-g&c=cUkzcZGZt-E3UgRE832-4A&r=1W7t1wxffF_SK8hWHbFqftFPxpkp7kvctLERQP_VVdU&m=mm-WcE8750GhSn-Qy9oXMEXuikHrMhJ9PXjSaZOmR2A&s=0VKJDPci8lI9gP-h_0vDrkmRbVA4hFWOlvkapsOGb5E&e=">http://www.dependencywalker.com/</a><o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">Best regards,<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black">Matthieu<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;color:black"><br>
<br>
<o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;color:black">
<hr size="3" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">Van:</span></b><span style="color:black"> Coin-discuss <<a href="mailto:coin-discuss-bounces@coin-or.org">coin-discuss-bounces@coin-or.org</a>> namens Juan Garcia, Pau <<a href="mailto:Pau.JuanGarcia@atkinsglobal.com">Pau.JuanGarcia@atkinsglobal.com</a>><br>
<b>Verzonden:</b> donderdag 6 juni 2019 17:42<br>
<b>Aan:</b> <a href="mailto:coin-discuss@list.coin-or.org">coin-discuss@list.coin-or.org</a><br>
<b>CC:</b> Constantino, Carlos; Allan, David F<br>
<b>Onderwerp:</b> [Coin-discuss] List of Windows dll dependencies</span><span style="font-size:12.0pt;color:black">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Hello,<o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">I am using the CoinMP.dll file compiled for windows in a python application. I use the ctypes library to load the dll as follows:<o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;font-family:Consolas;color:black">ctypes.cdll.LoadLibrary(CoinMP.dll)</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">The application is frozen into a executable file using PyInstaller. It woks just fine in most computers, but some users got an error when loading the dll:<o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;font-family:Consolas;color:black">OSError: [WinError 126] The specified module could not be found</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">I made sure the path provided to the loader is an absolute path, handled by the os.path library, and the CoinMP.dll is in the location. It seems the problem is that some .dll dependencies to load
 CoinMP.dll are not present in the user’s machine.<o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Would it be possible to obtain a complete list of all the dependencies necessary to load CoinMP.dll?<o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Many thanks,<o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Pau<o:p></o:p></span></p>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;color:black">
<hr size="3" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray"><br>
This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall
 be legally binding. The ultimate parent company of the Atkins Group is SNC-Lavalin Group Inc. Registered in Québec, Canada No. 059041-0. Registered Office 455 boul. René-Lévesque Ouest, Montréal, Québec, Canada, H2Z 1Z3. A list of Atkins Group companies registered
 in the United Kingdom and locations around the world can be found at <a href="http://www.atkinsglobal.com/site-services/group-company-registration-details">
http://www.atkinsglobal.com/site-services/group-company-registration-details</a><br>
<br>
Consider the environment. Please don't print this e-mail unless you really need to.</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal">********************************************************<br>
For information, services and offers, please visit our web site: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.klm.com&d=DwQF-g&c=cUkzcZGZt-E3UgRE832-4A&r=1W7t1wxffF_SK8hWHbFqftFPxpkp7kvctLERQP_VVdU&m=mm-WcE8750GhSn-Qy9oXMEXuikHrMhJ9PXjSaZOmR2A&s=INfw-l8OA2iUGHP9Aj2DhC8_m9VrCilO57BrbBbKe3o&e=">
http://www.klm.com</a>. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or
 distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.<br>
<br>
Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.<br>
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
<br>
********************************************************<o:p></o:p></p>
</div>
</body>
</html>