I got a dll which i want to load using ctypes.
from ctypes import *
mydll=cdll.LoadLibrary(r"C:\\test\\mydll.dll")
Its a 32 bit dll and therefore I'm using x86 version of Python (2.7.12).
The problem is that on my desktop pc (Windows 10) for some stupid reason i get that known error:
WindowsError: [Error 126] The specified module could not be found
I have no idea what is going on, tried changing pathnames as i read on other questions, tried to use windll instead, older versions of python nothing worked.
Then I tried running EXACTLY the same code on EXACTLY the same version of python on my laptop (Windows 10) and it worked....
I have no explanation what is going on, so I need some help. At least how am I supposed to debug the desktop situation. Its probably OS related?