[Coin-discuss] List of Windows dll dependencies

Juan Garcia, Pau Pau.JuanGarcia at atkinsglobal.com
Thu Jun 6 11:42:40 EDT 2019


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20190606/dc3dd860/attachment.html>


More information about the Coin-discuss mailing list