Loading a dll file on a Unix computer

kristine l <[email protected]> Mon, 18 Jul 2016 15:26:12 -0400
Newsgroups gmane.comp.python.ctypes
Message-ID <CAAWdO0dZ3rUzjJJGR1ZkG0k=QUaRSoG7fGYR2P277_bHHRX0jg@mail.gmail.com>
Hi guys!

I am trying to load the '__CLDevIFace.dll' library found on this page:

https://github.com/charlie1kimo/Zygo/tree/master/wave_meter_wrapper

to communicate with a Bristol 621 wavemeter. I would be doing this on a
Unix computer, and each time I try to run:

"""
from ctypes import *
dll = cdll.LoadLibrary('__CLDevIFace.dll')
"""

It gives me the error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: __CLDevIFace.dll: cannot open shared object file: No such file or
directory



I have no idea where to go from here, and the tutorial on the ctypes
package is not helping me.

Thanks for any help!

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

_______________________________________________
ctypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ctypes-users