ctypes help

sturlamolden sturlamolden at yahoo.no
Thu May 22 19:01:14 EDT 2008


On May 23, 12:33 am, gianluca <geonom... at gmail.com> wrote:
> Hy,
> I need help about use dll with ctypes. I've compiled my dll C library
> and I copied it in c:\windows\system32. When I load it with
> "myDLL=cdll.LoadLibrary(find_library("myDLL.dll"))" It seem all OK but
> python don't see the dll function. with dir(myDLL) I've only this:
> ['_FuncPtr', '__class__', '__delattr__', '__dict__', '__doc__',
> '__getattr__', '__getattribute__', '__getitem__', '__hash__',
> '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__',
> '__repr__', '__setattr__', '__str__', '__weakref__', '_handle',
> '_name']

I see nothing wrong here.









More information about the Python-list mailing list