[Coin-discuss] List of Windows dll dependencies

Juan Garcia, Pau Pau.JuanGarcia at atkinsglobal.com
Fri Jun 14 08:10:07 EDT 2019


Many thanks Matthieu,

Using the dependency walker to identify the missing .DLL solved the issue.
As a side note, we had to use the version for windows 10 from: https://github.com/lucasg/Dependencies

Best regards,
Pau

From: Bolt, Matthieu (ITCDOR) - KLM <Matthieu.Bolt at klm.com>
Sent: 07 June 2019 06:22
To: Juan Garcia, Pau <Pau.JuanGarcia at atkinsglobal.com>
Cc: Constantino, Carlos <Carlos.Constantino at atkinsglobal.com>; Allan, David F <David.Allan2 at atkinsglobal.com>; coin-discuss at list.coin-or.org
Subject: Re: List of Windows dll dependencies


Hi Pau,



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 http://www.dependencywalker.com/<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=>



Best regards,

Matthieu






________________________________
Van: Coin-discuss <coin-discuss-bounces at coin-or.org<mailto:coin-discuss-bounces at coin-or.org>> namens Juan Garcia, Pau <Pau.JuanGarcia at atkinsglobal.com<mailto:Pau.JuanGarcia at atkinsglobal.com>>
Verzonden: donderdag 6 juni 2019 17:42
Aan: coin-discuss at list.coin-or.org<mailto:coin-discuss at list.coin-or.org>
CC: Constantino, Carlos; Allan, David F
Onderwerp: [Coin-discuss] List of Windows dll dependencies


Hello,



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:



ctypes.cdll.LoadLibrary(CoinMP.dll)



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:



OSError: [WinError 126] The specified module could not be found



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.



Would it be possible to obtain a complete list of all the dependencies necessary to load CoinMP.dll?



Many thanks,

Pau



________________________________

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

Consider the environment. Please don't print this e-mail unless you really need to.
********************************************************
For information, services and offers, please visit our web site: http://www.klm.com<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=>. 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.

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.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20190614/43d2ece3/attachment.html>


More information about the Coin-discuss mailing list