<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Pau,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">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 <span style="font-size: 12pt;">on windows machines using </span><a href="http://www.dependencywalker.com/" class="OWAAutoLink" id="LPlnk681166" previewremoved="true" style="font-size: 12pt;">http://www.dependencywalker.com/</a></p>
<p style="margin-top:0;margin-bottom:0"><a href="http://www.dependencywalker.com/" class="OWAAutoLink" id="LPlnk681166" previewremoved="true"></a></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Best regards,</p>
<p style="margin-top:0;margin-bottom:0">Matthieu</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<br>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<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>Van:</b> Coin-discuss <coin-discuss-bounces@coin-or.org> namens Juan Garcia, Pau <Pau.JuanGarcia@atkinsglobal.com><br>
<b>Verzonden:</b> donderdag 6 juni 2019 17:42<br>
<b>Aan:</b> coin-discuss@list.coin-or.org<br>
<b>CC:</b> Constantino, Carlos; Allan, David F<br>
<b>Onderwerp:</b> [Coin-discuss] List of Windows dll dependencies</font>
<div> </div>
</div>
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hello,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span style="font-family:Consolas">ctypes.cdll.LoadLibrary(CoinMP.dll)</span></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span style="font-family:Consolas">OSError: [WinError 126] The specified module could not be found</span></p>
<p class="x_MsoNormal"><span style="font-family:Consolas"> </span></p>
<p class="x_MsoNormal">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.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Would it be possible to obtain a complete list of all the dependencies necessary to load CoinMP.dll?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Many thanks,</p>
<p class="x_MsoNormal">Pau</p>
<p class="x_MsoNormal"> </p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><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 http://www.atkinsglobal.com/site-services/group-company-registration-details<br>
<br>
Consider the environment. Please don't print this e-mail unless you really need to.<br>
</font></div>
</div>
</div>
********************************************************<br>For information, services and offers, please visit our web site: http://www.klm.com. 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>********************************************************</body>
</html>