ctypes help

gianluca geonomica at gmail.com
Thu May 22 18:33:42 EDT 2008


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']

Could anybody help me

Thanks

Gianluca



More information about the Python-list mailing list